Пример #1
0
 public DocentesPAGEViewModel(Prism.Navigation.INavigationService nav)
 {
     IsNotBusy    = true;
     Nav          = nav;
     DocenteNueva = new Docente();
     jsonHandler  = new JsonLocalHandler();
     AllDocentes  = new ObservableCollection <Docente>();
     RefreshMethod();
 }
Пример #2
0
        public MainViewModel(
            Prism.Navigation.INavigationService navigationService
            , ISerieService serieService)
            : base(navigationService)
        {
            this.serieService = serieService;

            ItemClickCommand = new Command <Serie>(async(item)
                                                   => await ItemClickCommandExecute(item));
        }