public IEnumerable <Employee> Get() { EmployeesData eData = new EmployeesData(); return(eData.GetEmployees()); }
public IActionResult GetEmployees() { var employees = EmployeesData.GetEmployees(); return(Ok(employees)); }
public IEnumerable <Employee> Get() { EmployeesData eData = new EmployeesData(); return(eData.GetEmployees()); }
public IActionResult GetEmployees() { var employees = EmployeesData.GetEmployees(); return(Ok(employees)); }