public async Task <ActionResult <ResponseAwEmployee> > GetEmployees(int id) { var results = await aworkrepository.GetEmployee(id); if (results == null) { return(NotFound("No employees were found")); } return(Ok(results)); }
public async Task <ActionResult <ResponseAwEmployee> > GetEmployees(int id) { var results = await aworkrepository.GetEmployee(id); if (results == null) { return(NotFound("No employees were found")); } return(Ok(results)); }