public void Handle(InventoryItemRenamed message)
        {
            InventoryItemDetailsDto d = GetDetailsItem(message.SourceId);

            d.Name    = message.NewName;
            d.Version = message.Version;
        }
Ejemplo n.º 2
0
        public void Handle(InventoryItemRenamed message)
        {
            var item = MemoryDatabase.list.Find(x => x.Id == message.SourceId);

            item.Name = message.NewName;
        }