public ActionResult Index() { try { ViewBag.Shifts = ca.Shifts(); ViewBag.Interests = ca.Areas_Of_Interest(); return(View()); } catch (Exception e) { ViewBag.ExceptionMessage = e.Message; } return(View("~/Views/Errors/Details.cshtml")); }
public ActionResult Index() { try { ViewBag.Shifts = ca.Shifts(); ViewBag.Interests = ca.Areas_Of_Interest(); return(View()); } catch (Exception e) { ViewBag.ExceptionMessage = e.Message; } return(View("~/Views/Errors/Details.cshtml")); }