public ActionResult Edit(PsrkModel model) { var res = HandleResult(() => { model.id_masteruser = id_user_master; model.id_create = id_user; //model.id_shop = id_shop; return(BusinessFactory.Td_Ps_Rk_1.Update(model)); }); return(JsonString(res, 1)); }
public ActionResult Add(PsrkModel model) { var res = HandleResult(() => { model.id_masteruser = id_user_master; model.id_create = id_user; //model.id_shop = id_shop; model.AutoAudit = AutoAudit(); var br = BusinessFactory.Td_Ps_Rk_1.Add(model); return(br); }); return(JsonString(res, 1)); }