コード例 #1
0
        public async Task <IHttpActionResult> GetClientEmployees(Guid clientId)
        {
            var employees = await _employeeProvider.GetByClientId(clientId);

            if (employees == null || !employees.Any())
            {
                return(NotFound());
            }

            return(Ok(employees));
        }