public AddParticipantsViewModel(ParticipantService participantService) : this() { AvaibleParticipants = new ObservableCollection<AlphaKeyGroup<IParticipant>>(); ChosenParticipants = new ObservableCollection<IParticipant>(); ParticipantService = participantService; ChosenParticipants.CollectionChanged += ChosenParticipantsOnCollectionChanged; }
private void LoadContactsToDatabase() { var service = new ParticipantService(); service.LoadContactsToDbAsync(); }