public apiVacationController(IVacationAdapter adapter) { _adapter = adapter; }
private IVacationAdapter _adapter; //here I want the data adapter so I can use the home controller to get the data from the database repository public apiVacationController() { _adapter = new VacationDataAdapter(); }