Esempio n. 1
0
        public ActionResult Create(SsdSetCreateIo input)
        {
            if (!this.ModelState.IsValid)
            {
                return this.ModelState.ToJsonResult();
            }
            AcDomain.Handle(input.ToCommand(AcSession));

            return this.JsonResult(new ResponseData { success = true, id = input.Id });
        }
Esempio n. 2
0
        public ActionResult Create(SsdSetCreateIo input)
        {
            if (!this.ModelState.IsValid)
            {
                return(this.ModelState.ToJsonResult());
            }
            AcDomain.Handle(input.ToCommand(AcSession));

            return(this.JsonResult(new ResponseData {
                success = true, id = input.Id
            }));
        }