Esempio n. 1
0
 public HomeController(IParksDAL parksDal)
 {
     _parksDAL = parksDal;
 }
 public WeatherController(IWeatherDAL weatherDAL, IParksDAL parkDAL)
 {
     this.weatherDAL = weatherDAL;
     this.parkDAL    = parkDAL;
 }
 public HomeController(IParksDAL dal, IWeatherDAL dal2)
 {
     _dal        = dal;
     _weatherdal = dal2;
 }
Esempio n. 4
0
 /// <summary>
 /// Injecting interface into the HomeController constructor
 /// </summary>
 /// <param name="dal"></param>
 public HomeController(IParksDAL dal)
 {
     _dal = dal;
 }
Esempio n. 5
0
 public ParksApiController(IParksDAL parksDal)
 {
     _parksDal = parksDal;
 }
 public HomeController(IParksDAL parkDAL)
 {
     this.dal = parkDAL;
 }
Esempio n. 7
0
 public HomeController(IParksDAL parksDAL, IWeatherDAL weatherDAL, ISurveyDAL surveyDAL)
 {
     this.ParksDAL   = parksDAL;
     this.WeatherDAL = weatherDAL;
     this.SurveyDAL  = surveyDAL;
 }
 public SurveyController(ISurveyDAL surveyDAL, IParksDAL parksDAL)
 {
     this.surveyDAL = surveyDAL;
     this.parksDAL  = parksDAL;
 }
Esempio n. 9
0
 public ParksController(IParksDAL parksDAL)
 {
     this.parksDAL = parksDAL;
 }