public BeerController(IBeerDAO beerDao, IFavoriteDAO favoriteDAO) { this.beerDao = beerDao; this.favoriteDAO = favoriteDAO; }
public SurveyController(IFavoriteDAO favoriteDAO) { this.favoriteDAO = favoriteDAO; }
public FavoritesController(IFavoriteDAO favoriteDAO, IUserDAO userDao) : base(userDao) { this.favoriteDAO = favoriteDAO; }
/// <summary> /// Creates a new controller to handle favorites /// </summary> /// <param name="favoriteDAO"></param> public FavoriteController(IFavoriteDAO favoriteDAO, IUserDAO userDAO) { this.favoriteDAO = favoriteDAO; this.userDAO = userDAO; }