public async Task WhenAsync(DeleteSellableInventoryItemEntryMvoDto c)
        {
            var idObj         = SellableInventoryItemEntryMvoProxyUtils.ToIdString((c as IDeleteSellableInventoryItemEntryMvo).SellableInventoryItemEntryId);
            var uriParameters = new SellableInventoryItemEntryMvoUriParameters();

            uriParameters.Id = idObj;

            var q = new SellableInventoryItemEntryMvoDeleteQuery();

            q.CommandId   = c.CommandId;
            q.RequesterId = c.RequesterId;
            q.Version     = Convert.ToString(c.SellableInventoryItemVersion);

            var req = new SellableInventoryItemEntryMvoDeleteRequest(uriParameters);

            req.Query = q;

            var resp = await _ramlClient.SellableInventoryItemEntryMvo.Delete(req);

            SellableInventoryItemEntryMvoProxyUtils.ThrowOnHttpResponseError(resp);
        }
 public void When(DeleteSellableInventoryItemEntryMvoDto c)
 {
     WhenAsync(c).GetAwaiter().GetResult();
 }