public ActionResult <List <EmployeeDTO> > GetAll() { List <EmployeeDTO> employees = new List <EmployeeDTO>(); EmployeeBM employee = new EmployeeBM(); return(employee.GetAll(null)); }
public ActionResult <List <EmployeeDTO> > GetAll(string name) { EmployeeBM employee = new EmployeeBM(); return(employee.GetAll(name)); }