예제 #1
0
 public IHttpActionResult Put(int id, [FromBody] _002g_hrmEmpSalaryDomain body)
 {
     body.ID = id;
     return(Json(cat1.Command(body, Command.Update)));
 }
예제 #2
0
 public IHttpActionResult Post([FromBody] _002g_hrmEmpSalaryDomain body)
 {
     return(Json(cat1.Command(body, Command.Insert)));
 }