public BreweriesController(IBreweryDAO breweryDAO, IHoursDAO hoursDAO, IBreweryImagesDAO breweryImagesDAO, IBeerDAO beerDAO) { this.breweryDAO = breweryDAO; this.hoursDAO = hoursDAO; this.breweryImagesDAO = breweryImagesDAO; this.beerDAO = beerDAO; }
// TODO 04 (Controller): implement dependency injection to get BreweryDAO public BreweryController(ILogger <BreweryController> logger, IBreweryDAO breweryDAO) { _logger = logger; this.breweryDAO = breweryDAO; }
public BreweryController(IBreweryDAO breweryDao, IBeerDAO beerDao) { this.breweryDao = breweryDao; this.beerDao = beerDao; }
public BreweriesController(IBreweryDAO dao) { this.breweryDao = dao; }
public BreweryController(IBreweryDAO _breweryDAO) { breweryDAO = _breweryDAO; }