public CocktailsController(ICocktailReviewServices cocktailReview, ICocktailServices cocktailServices, IIngredientServices ingredientServices, IHostingEnvironment hostingEnvironment) { this.cocktailReview = cocktailReview; this.cocktailServices = cocktailServices; this.ingredientServices = ingredientServices; this.hostingEnvironment = hostingEnvironment; }
public ReviewsController(IBarServices barServices, IBarReviewServices barReviewServices, ICocktailReviewServices cocktailReviewServices, ICocktailServices cocktailServices, UserManager <User> userManager) { _barServices = barServices; _barReviewServices = barReviewServices; _cocktailReviewServices = cocktailReviewServices; _cocktailServices = cocktailServices; _userManager = userManager; }