Exemplo n.º 1
0
 public RedirectToActionResult Locations(string locationName, string description, string dateEstablished)
 {
     location = new ImportantLocations();
     location.LocationName    = locationName;
     location.Description     = description;
     location.DateEstablished = dateEstablished;
     LocationsRepository.AddLocation(location);
     return(RedirectToAction("Locations"));
 }