protected override Product OnExecute() { return(_transactionContext.Execute(() => { var product = _productDataProxy.Insert(CurrentProduct); _inventoryService.InsertCommand(BuildInventoryItem(product)).Execute(); return product; })); }
protected override Product OnExecute() { return(_transactionContext.Execute(() => { var product = _productDataProxy.Insert(CurrentProduct); _inventoryService.InsertCommand(BuildInventoryItem(product)).Execute(); return product; })); }