public SimpleResponse <bool> Any(OrderDeleteRequest request)
        {
            if (Validator != null)
            {
                Validator.ValidateAndThrow(new Order {
                    OrderId = request.OrderId
                }, ApplyTo.Delete);
            }

            OnBeforeOrderDeleteRequest(request);
            var output = Repository.Delete(request);

            OnAfterOrderDeleteRequest(request, output);
            if (!output.Result)
            {
                throw new HttpError(HttpStatusCode.NotFound, "NullReferenceException", "Order matching [OrderId = {0}]  does not exist".Fmt(request.OrderId));
            }
            return(output);
        }
 partial void OnAfterOrderDeleteRequest(OrderDeleteRequest request, SimpleResponse <bool> deleted);
 partial void OnBeforeOrderDeleteRequest(OrderDeleteRequest request);