Пример #1
0
 public void UpdateItemDescription(Guid itemId, ItemDescription newDescription)
 {
     _inventoryItems.Single(i => i.Id == itemId).Description = newDescription;
     DomainEvents.Notify(new InventoryItemUpdated(User));
 }