private void fillEvent(Res.Event e) { if (e.protest == null && protestsMap.ContainsKey(e.protestId)) { e.protest = protestsMap[e.protestId]; } if (e.participant == null && participantsMap.ContainsKey(e.participantId)) { e.participant = participantsMap[e.participantId]; } }
public Res.Event Event(Res.Event e) { fillEvent(e); return(e); }