public IActionResult Create() { var exigencies = _exigencyService.GetAll(); var assignmentViewModel = _assignmentModelFactory.PrepareAssignmentViewModel(exigencies); return(View(assignmentViewModel)); }
public IActionResult List() { var exigencies = _exigencyService.GetAll(); var exigencyListViewModel = _exigencyModelFactory.PrepareExigencyListviewModel(exigencies); return(View(exigencyListViewModel)); }