public void Handle(KillDestroyedItemAdded e) { var kill = _repository.Get <KillDto>(e.Id); kill.DestroyedItems.Add(new KillItemDto(e.ItemId, e.Quantity, e.Location)); _repository.Save(kill); }
protected void OnKillDestroyedItemAdded(KillDestroyedItemAdded e) { _destroyedItems.Add(new KillItem(e.ItemId, e.Quantity, e.Location)); _timestamp = e.Timestamp; }