예제 #1
0
        public ActionResult <List <EmployeeDTO> > GetAll()
        {
            List <EmployeeDTO> employees = new List <EmployeeDTO>();
            EmployeeBM         employee  = new EmployeeBM();

            return(employee.GetAll(null));
        }
예제 #2
0
        public ActionResult <List <EmployeeDTO> > GetAll(string name)
        {
            EmployeeBM employee = new EmployeeBM();

            return(employee.GetAll(name));
        }