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