protected void PATCH(string json) { UserCheck(); if (MethodAllowed(RESTarMethods.PATCH)) { try { Evaluators.PATCH(RESTarData, json, Request); Success = true; } catch (AbortedUpdaterException e) { SetMessage(e.InnerException?.Message ?? e.Message, e.ErrorCode, error); } } else { SetMessage($"You are not allowed to update the '{Resource}' resource", NotAuthorized, error); } }