public void AddSession(Session newSession, IEnumerable <Participant> participants) { using (HistoryRepository repository = this.CreateRepository()) repository.AddSession(newSession, participants); }