示例#1
0
        public JsonResult Delete(int id)
        {
            var model = userClassService.GetList().Where(e => e.Id == id).First();

            userClassService.Delete(model, null);
            var dto = this.GetClassList();

            return(Json(dto, JsonRequestBehavior.AllowGet));
        }