public void Handle(PilotAllianceChanged e) { var dto = _repository.Get <PilotDto>(e.Id); dto.AllianceId = e.AllianceId; dto.Timestamp = e.Timestamp; _repository.Save(dto); }
protected void OnPilotAllianceChanged(PilotAllianceChanged e) { _allianceId = e.AllianceId; _timestamp = e.Timestamp; }