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