private void MeetingOnSpeakerAdded(object sender, Speaker speaker) { var vm = new SpeakerViewModel(this, speaker); vm.Navigation = this.Navigation; this.Speakers.Add(vm); }
private void ExecuteEditCommand(SpeakerViewModel speaker) { var speakerPage = new SpeakerView { BindingContext = speaker }; var navigation = GalaSoft.MvvmLight.Ioc.SimpleIoc.Default.GetInstance <INavigation>(); navigation.PushAsync(speakerPage, true); }
private async Task ExecuteDeleteComand(SpeakerViewModel speakerViewModel) { this.meeting.DeleteSpeaker(this.speaker); }