コード例 #1
0
 public JsonResult DeleteNewsletter(Newsletter obj)
 {
     try
     {
         if (obj != null)
         {
             obj.Delete();
         }
     }
     catch (Exception ex)
     {
         return(JsonResult.CreateResult(false, ex.Message));
     }
     return(JsonResult.CreateResult(true));
 }