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)); }
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)); }