public SkiDestinationsViewModel(INavigation navigation) { Navigation = navigation; SkiDestinations = new SightsService().GetListSkiDestinations(); BtnNavigate = new Command(NavigateToSight); BtnInfo = new Command(GoToWebSite); BtnWeather = new Command(async() => await ShowWeather()); }
public CavesViewModel(INavigation navigation) { Caves = new SightsService().GetListCaves(); BtnNavigate = new Command(NavigateToSight); BtnInfo = new Command(GoToInfoPage); BtnWeather = new Command(async() => await ShowWeather()); Navigation = navigation; }
public OldVillagesViewModel(INavigation navigation) { Navigation = navigation; OldVillages = new SightsService().GetListOldVillages(); BtnNavigate = new Command(NavigateToSight); BtnInfo = new Command(GoToWebSite); BtnWeather = new Command(async() => await ShowWeather()); }