protected void DELETE(object item) { UserCheck(); if (MethodAllowed(RESTarMethods.DELETE)) { try { Evaluators.DELETE(item, Request); Success = true; } catch (AbortedDeleterException e) { SetMessage(e.InnerException?.Message ?? e.Message, e.ErrorCode, error); } } else { SetMessage($"You are not allowed to delete from the '{Resource}' resource", NotAuthorized, error); } }