Exemplo n.º 1
0
        public ActionResult <List <EmployeeDTO> > GetAll()
        {
            List <EmployeeDTO> employees = new List <EmployeeDTO>();
            EmployeeBM         employee  = new EmployeeBM();

            return(employee.GetAll(null));
        }
Exemplo n.º 2
0
        public ActionResult <List <EmployeeDTO> > GetAll(string name)
        {
            EmployeeBM employee = new EmployeeBM();

            return(employee.GetAll(name));
        }