public ActionResult CreateVisitType(VisitType creating) { if (!Service.CreateVisitType(creating)) { return(View()); } return(RedirectToAction("visitType"));//redirect to equipment list }