public ActionResult SaveISP(ISPViewModel model) { var response = svc.SaveISP(model.ISP); ViewBag.Response = response.Message; return(RedirectToAction("ISPs")); }
public ActionResult ISP(int ispId) { var model = new ISPViewModel { ISP = svc.GetISP(ispId) }; return(View(model)); }