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 }); }
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 }); }