public IActionResult GetManagement(int managementId) { var manager = _repo.GetManager(managementId); if (manager == null) { return(NotFound()); } return(Ok(ModelsMapping.GetManagementDto(manager))); }