Ejemplo n.º 1
0
        public ActionResult Edit(PscktzdModel model)
        {
            var res = HandleResult(() =>
            {
                model.id_masteruser = id_user_master;
                model.id_create     = id_user;
                //model.id_shop = id_shop;
                return(BusinessFactory.Td_Ps_Cktzd_1.Update(model));
            });

            return(JsonString(res, 1));
        }
Ejemplo n.º 2
0
        public ActionResult Add(PscktzdModel 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_Cktzd_1.Add(model);
                return(br);
            });

            return(JsonString(res, 1));
        }