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