示例#1
0
        public async Task <IHttpActionResult> GetByCaseEmployeeIdAsync(Guid caseEmployeeId)
        {
            var employee = await _employeeProvider.GetByCaseEmployeeId(caseEmployeeId).ConfigureAwait(false);

            if (employee == null)
            {
                return(NotFound());
            }

            return(Ok(employee));
        }