コード例 #1
0
 public IHttpActionResult PostEmployee(TABLE_EMPLOYEE emp)
 {
     if (ModelState.IsValid)
     {
         context.PROC_EMP(emp.EMPLOYEENAME, emp.EMPLOYEESURNAME, emp.EMPLOYEEAGE, emp.EMPLOYEEMAIL);
         context.SaveChanges();
     }
     return(Ok());
 }