Exemplo n.º 1
0
 public ActionResult List()
 {
     try
     {
         Employee employee = new Employee();
         return(Json(_iFEmployee.List()));
     }
     catch (Exception exception)
     {
         return(Json(exception));
     }
 }
Exemplo n.º 2
0
 public JsonResult ReadEmployees()
 {
     return(Json(_iFEmployee.List()));
 }