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