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