public async Task <IHttpActionResult> GetEmployeeById(int employeeId) { var employee = await _genericBusiness.GetEmployeeById(employeeId); if (employee == null) { return(NotFound()); } return(Ok(employee)); }
public async Task <IHttpActionResult> GetEmployeeById(int employeeId) { var employee = await _genericBusiness.GetEmployeeById(employeeId); if (employee == null) { return(NotFound()); } return(Ok(employee)); }