Beispiel #1
0
        public JsonResult DeleteBD(int id)
        {
            JsonSMsg rMsg = new JsonSMsg();

            try
            {
                _service.DeleteBD(id);
                rMsg.Status  = 0;
                rMsg.Message = "删除成功";
                //return Redirect("GraphicList.do");
                //}
            }
            catch (Exception ex)
            {
                rMsg.Status  = -1;
                rMsg.Message = ex.Message;
            }
            return(Json(rMsg));
        }