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();
 }