Example #1
0
 public ActionResult DeleteGroup(int id)
 {
     try
     {
         var falg = adminUserBLL.DeleteAdminRoleInfo(id);
         if (falg)
         {
             return(Json(new { Error = 0 }));
         }
         else
         {
             return(Json(new { Error = 1 }));
         }
     }
     catch (Exception ex)
     {
         LogHelper.Error(ex);
         return(Json(new { Error = 1, Message = ex.Message }));
     }
 }