public ActionResult PostView([FromBody] ParamJson paramsJson)
        {
            string      guid        = Guid.NewGuid().ToString();
            SaveOperate saveOperate = new SaveOperate()
            {
                Id = guid, ParamJson = paramsJson
            };

            _savOperateService.Save(saveOperate);

            var url = $"http://192.168.188.142:8080/DX/index.html#/index?guid={guid}";

            return(Ok(url));
        }
Esempio n. 2
0
 public void SaveOperation()
 {
     SaveOperate?.Invoke();
 }
Esempio n. 3
0
 public SaveOperate Save(SaveOperate saveOperate)
 {
     _Operation.InsertOne(saveOperate);
     return(saveOperate);
 }