public async Task <IActionResult> Get([FromRoute] Guid employeeId) { var employee = await provider.GetAsync(new EmployeeModel { Id = employeeId }); if (employee == null) { return(NotFound()); } return(Ok(new GetResponseContract { Id = employee.Id, Name = employee.Name })); }