예제 #1
0
 // GET api/employee
 public List <BOEmployee> Get()
 {
     try
     {
         return(BLLEmployee.GetAllEmployees());
     }
     catch (Exception ex)
     {
         return(new BOEmployeeList());
     }
 }
예제 #2
0
 public ActionResult GetAllEmployee()
 {
     ble.GetAllEmployees();
     return(View(ble.GetAllEmployees()));
 }