예제 #1
0
 public static int AddEmployee(Employee data)
 {
     return(EmployeeDB.Add(data));
 }
예제 #2
0
 public static int AddEmployee(Employee employee)
 {
     return(EmployeeDB.Add(employee));
 }
 public JsonResult Add(Employee emp)
 {
     return(Json(empDB.Add(emp), JsonRequestBehavior.AllowGet));
 }
예제 #4
0
 public JsonResult Insertar(Employee empleado)
 {
     return(Json(empDB.Add(empleado), JsonRequestBehavior.AllowGet));
 }