public IActionResult Edit(int id) { logger.LogDebug($"Project.Edit [get] is called"); ProjectVm ProjectVm = ConvertToProjectVm.Convert(ProjectService.Get(id)); IList <ProjectTaskVm> ProjectTasksVm = ConvertToProjectTaskVm.Convert(ProjectTaskService.GetAllByProjectId(ProjectVm.Id)); ProjectsVm model = ComposeProjectVm(ProjectVm, ProjectTasksVm); return(View("CreateOrEdit", model)); }