Esempio n. 1
0
 public ActionResult AddDestination(Destination destination)
 {
     ViewBag.Destinations   = aTransportManager.GetAllDestinations();
     ViewBag.Routes         = GetRoutesForDropdownList();
     ViewBag.FeeTypes       = GetFeeTypesForDropdownList();
     ViewBag.PickupAndDrops = GetPickupDropPlaceForDropdownList();
     ViewBag.Message        = aTransportManager.AddDestination(destination);
     return(View());
 }