Beispiel #1
0
        public void ArchiveOrder(DeleteUndeleteRequest req)
        {
            if (req.Id == Guid.Empty)
                throw ApiHelpers.ServerError("Request contains an invalid order id");

            _clientFactory.GetCommandServiceClient().Execute(new ArchiveCustomerOrder { OrderId = req.Id });
        }
Beispiel #2
0
        public void MarkTaskNotComplete(DeleteUndeleteRequest req)
        {
            if (req.Id == Guid.Empty)
                throw ApiHelpers.ServerError("Request contains an invalid task id");

            _clientFactory.GetCommandServiceClient().Execute(new MarkTaskIncomplete { TaskId = req.Id });
        }