Methodize status message handling

This commit is contained in:
2015-10-10 22:42:38 -04:00
parent 6482955b3c
commit 22e4089fba
10 changed files with 71 additions and 66 deletions
+1 -2
View File
@@ -150,8 +150,7 @@ namespace MileageTraker.Web.Controllers
}
catch (Exception ex)
{
TempData["StatusMessage"] = "Problem reading document: " + ex.Message;
TempData["StatusMessage-Type"] = "alert-error";
SetStatusMessage("Problem reading document: " + ex.Message, StatusType.Error);
}
finally
{