public IActionResult Get() { var employees = _dataAccess.GetAll(); return(Ok(employees)); }
public void GetAllEmployees() { var dataAccess = new EmployeeDataAccessLayer(); var employees = dataAccess.GetAll(); }
public IActionResult Get() { var employees = _dataAccess.GetAll(); return(Ok(employees)); }
public void GetAllEmployees() { var dataAccess = new EmployeeDataAccessLayer(); var employees = dataAccess.GetAll(); }