Пример #1
0
 public AddParticipantsViewModel(ParticipantService participantService)
     : this()
 {
     AvaibleParticipants = new ObservableCollection<AlphaKeyGroup<IParticipant>>();
     ChosenParticipants = new ObservableCollection<IParticipant>();
     ParticipantService = participantService;
     ChosenParticipants.CollectionChanged += ChosenParticipantsOnCollectionChanged;
 }
Пример #2
0
 private void LoadContactsToDatabase()
 {
     var service = new ParticipantService();
     service.LoadContactsToDbAsync();
 }