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