public void Handle(InventoryItemRenamed message) { InventoryItemDetailsDto d = GetDetailsItem(message.Id); d.Name = message.NewName; d.Version = message.Version; }
public void Handle(InventoryItemRenamed message) { var item = BullShitDatabase.list.Find(x => x.Id == message.Id); item.Name = message.NewName; }