public void Handle(KillPartyAdded e) { var kill = _repository.Get <KillDto>(e.Id); kill.InvolvedParties.Add(new KillInvolvedPartyDto(e.AllianceId, e.CorpId, e.PilotId, e.ShipId, e.WeaponId, e.DamageDone, e.SecurityStatus, e.DamageDone)); _repository.Save(kill); }
protected void OnKillPartyAdded(KillPartyAdded e) { _involvedParties.Add(new KillParty(e.AllianceId, e.CorpId, e.PilotId, e.ShipId, e.WeaponId, e.DamageDone, e.SecurityStatus, e.FinalBlow)); _timestamp = e.Timestamp; }