public JsonResult Delete(int id) { try { return(Json(new ResultBase { success = _campusService.DeleteAsync(id) })); } catch (Exception ex) { LogHelper.Error("CampusController.Delete异常", ex); return(Error(ex.Message)); } }
public JsonResult Delete(int id) { try { return(Json(new ResultBase { success = _campusService.DeleteAsync(id) })); } catch (Exception ex) { LogHelper.Error("CampusController.Delete异常", ex); return(Error(ex.Message)); } }