コード例 #1
0
 protected override void OnExecute()
 {
     _transactionContext.Execute(() =>
     {
         var item = _inventoryService.GetByProductCommand(_productID).Execute().Value;
         _inventoryService.DeleteCommand(item.ID).Execute();
         _productDataProxy.Delete(_productID);
     });
 }