public IActionResult CalcWeeks() { try { var model = _repository.GetWeeks(); return(View(model)); } catch (Exception ex) { return(View("Error", ex)); } }