Пример #1
0
        public async Task <IHttpActionResult> GetEmployeeById(int employeeId)
        {
            var employee = await _genericBusiness.GetEmployeeById(employeeId);

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