public CityDetailViewModel(CityDetailView page, City city) { _page = page; _city = city; _schedule = new CityScheduleViewModel(city.Id, city.Name); }
public CityDetailView(City city) : this() { ViewModel = new CityDetailViewModel(this, city); }