public IActionResult CalcWeekDays(int weekId) { try { var model = _repository.GetWeek(weekId); return(View(model)); } catch (Exception ex) { return(View("Error", ex)); } }