public IActionResult AddWeek() { try { ViewBag.Programs = _repository.GetDietProgramSelectList(); return(View()); } catch (Exception ex) { return(View("Error", ex)); } }
public IActionResult AddWeek() { try { ViewBag.Programs = _repository.GetDietProgramSelectList(); return(View()); } catch (Exception ex) { return(View("Error", ex)); } }