public async Task <IHttpActionResult> GetByCaseEmployeeIdAsync(Guid caseEmployeeId) { var employee = await _employeeProvider.GetByCaseEmployeeId(caseEmployeeId).ConfigureAwait(false); if (employee == null) { return(NotFound()); } return(Ok(employee)); }