public async Task <ActionResult> GetEmployees() { var res = await employeeProvider.GetEmployeesAsync(); if (res.IsSuccess) { return(Ok(res.employees)); } return(NotFound(res.ErrorMessage)); }
public async Task <ActionResult> GetEmployees() { var res = await employeeProvider.GetEmployeesAsync(); if (res.IsSuccess) { return(Ok(res.employees)); } return(NotFound(res.ErrorMessage)); }