Пример #1
0
        public ActionResult Edit(KcsltzModel model)
        {
            var res = HandleResult(() =>
            {
                model.id_masteruser = id_user_master;
                model.id_edit       = id_user;
                return(BusinessFactory.Td_Kc_Sltz_1.Update(model));
            });

            return(JsonString(res, 1));
        }
Пример #2
0
        public ActionResult Copy(KcsltzModel model)
        {
            var res = HandleResult(() =>
            {
                model.id_masteruser = id_user_master;
                model.id_create     = id_user;
                model.AutoAudit     = AutoAudit();
                return(BusinessFactory.Td_Kc_Sltz_1.Add(model));
            });

            return(JsonString(res, 1));
        }