Add alert success to creation
This commit is contained in:
@@ -47,6 +47,7 @@ namespace MileageTraker.Web.Controllers
|
||||
{
|
||||
DataService.AddCity(city);
|
||||
|
||||
TempData["StatusMessage-Type"] = "alert-success";
|
||||
TempData["StatusMessage"] = "City " + city.Name + " created";
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user