public HomeController(INpGeekDAL npGeekDal, IWeatherDAL weatherDal, ISurveyDAL surveyDal, ISummarySurveysDAL summarySurveysDal) { this.npGeekDal = npGeekDal; this.weatherDal = weatherDal; this.surveyDal = surveyDal; this.summarySurveysDal = summarySurveysDal; }
public DetailController(IParkDAL dal, IWeatherDAL dal2) { this.dal = dal; this.dal2 = dal2; }
public WeatherController(IWeatherDAL weatherDal) { this.weatherDal = weatherDal; }
public void Initialize() { _weatherDAL = new WeatherDAL(NpGeekDbConnectionString); parkCode = "CVNP"; }
// create with DALs for convenience public HomeController(IParkDAL parkDal, IWeatherDAL weatherDal) { this.parkDal = parkDal; this.weatherDal = weatherDal; }
public NationalParkSqlDAL(string connectionString, IWeatherDAL weatherDAL, ISurveyDAL surveyDAL) { this.connectionString = connectionString; this.weatherDAL = weatherDAL; this.surveyDAL = surveyDAL; }
public HomeController(IParkDAL parkDAL, IWeatherDAL weatherDAL) { this.parkDAL = parkDAL; this.weatherDAL = weatherDAL; }
public WeatherController(IWeatherDAL weatherDAL, IParksDAL parkDAL) { this.weatherDAL = weatherDAL; this.parkDAL = parkDAL; }
public HomeController(IParkDAL parkDAL, IWeatherDAL weatherDAL) { _parkDAL = parkDAL; _weatherDAL = weatherDAL; }
/// <summary> /// Constructor for the Controller /// </summary> /// <param name="park">IParkDAL object that is made using dependency injection</param> /// <param name="survey">ISurveyDAL object that is made using dependency injection</param> /// <param name="weather">IWeatherDAL object that is made using dependency injection</param> public HomeController(IParkDAL park, ISurveyDAL survey, IWeatherDAL weather) { _parkDAL = park; _surveyDAL = survey; _weatherDAL = weather; }
public HomeController(IParkDAL pDal, IWeatherDAL wDal) { this.pdal = pDal; this.wdal = wDal; }
public WeatherController(IWeatherDAL weatherDAL) { this.weatherDAL = weatherDAL; }
public HomeController(IParkDAL dal, IWeatherDAL weatherDal) { this.dal = dal; this.weatherDal = weatherDal; }
/// <summary> /// Instantiates ParkController with access to the ParkDAL and WeatherDAL /// </summary> /// <param name="parkDAL">CRUD methods for Park</param> /// <param name="weatherDAL"> CRUD methods for Weather</param> public ParkController(IParkDAL parkDAL, IWeatherDAL weatherDAL) { this._parkDAL = parkDAL; this._weatherDAL = weatherDAL; }
public ParkSqlDAL(string connectionString, IWeatherDAL weatherDal) { this.connectionString = connectionString; this.weatherDal = weatherDal; }
public HomeController(IParksDAL dal, IWeatherDAL dal2) { _dal = dal; _weatherdal = dal2; }
public WeatherController(IWeatherDAL WeatherDAL) { this.WeatherDAL = WeatherDAL; }
public HomeController(IParkDAL dal, IWeatherDAL dalWeather) { this.dal = dal; this.dalWeather = dalWeather; }
public HomeController(IParksDAL parksDAL, IWeatherDAL weatherDAL, ISurveyDAL surveyDAL) { this.ParksDAL = parksDAL; this.WeatherDAL = weatherDAL; this.SurveyDAL = surveyDAL; }
public HomeController(IParkDAL parkDAL, ISurveyDAL surveyDAL, IWeatherDAL weatherDAL) { _parkdal = parkDAL; _surveyDal = surveyDAL; _weatherDAL = weatherDAL; }
// GET: Weather //private static string parkCode; public WeatherController(IWeatherDAL dal) { this.dal = dal; }
public List <Weather> getFiveDaysWeather(string parkCode) { weatherDAL = new WeatherSqlDAL(); return(weatherDAL.getWeatherByParkCode(parkCode)); }
public WeatherController(IWeatherDAL dal) { _dal = dal; }
public void Setup() { _weatherDAL = new WeatherSqlDAL(NpGeekDbConnectionString); }