Exemplo n.º 1
0
        public IActionResult Delete(Map model)
        {
            var bll = new MapBll();
            var rst = bll.Delete(model);

            if (rst.Result)
            {
                ServerHanlder.ChangeMap((int)ChangeMapType.除, model);
            }

            return(Json(rst));
        }
Exemplo n.º 2
0
        public IActionResult Delete(Map model)
        {
            using var bll = new MapBll();
            var rst = bll.Delete(model);

            if (rst.Result)
            {
                HandleEvent.ChangeMap((int)ChangeMapType.除, model);
            }

            return(Json(rst));
        }