public DetailViewModel(Park park) { this.Park = park; }
public ParkWeatherModel(Park park, IList <Weather> weather) { this.park = park; this.weather = weather; }
public ParkVM(Park park, IList <Weather> weather) { Park = park; Weather = weather; }
public DetailViewModel(Park park, IList <Weather> weather) { Park = park; Weather = weather; }
/// <summary> /// Contains all info to pass to detail view /// </summary> /// <param name="park">Chosen park from home or favorites page</param> /// <param name="weatherByPark">List of the Park's weather</param> public ParkWeatherViewModel(Park park, List <Weather> weatherByPark) { Park = park; WeatherByPark = weatherByPark; }
public DetailViewModel(Park park, IList <Forecast> forecasts, string temperatureUnit) { this.ParkDetail = park; this.Forecasts = forecasts; this.TemperatureUnit = temperatureUnit; }