Esempio n. 1
0
 public JsonResult DeleteVipInfo(int id, int userId)
 {
     AjaxResult result = new AjaxResult();
     try
     {
         UserService service = new UserService();
         if (!service.DeleteVipInfo(id, userId))
         {
             result.ExceptionInfo = "删除失败";
         }
     }
     catch (Exception ex)
     {
         LogService.Log("DeleteVipInfo", ex.ToString());
         result.ExceptionInfo = "删除失败";
     }
     return Json(result);
 }