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