public CustomerController( IDataService <Customer, GetCustomerModel, SendCustomerModel> dataService, IFavoriteProductService favoriteProductService, IProductReviewService productReviewService) : base(dataService) { FavoriteProductService = favoriteProductService ?? throw new ArgumentNullException(nameof(favoriteProductService)); ProductReviewService = productReviewService ?? throw new ArgumentNullException(nameof(productReviewService)); }
public ConfirmRecipeController(IRecipesService recipesService, IShopProductsService shopProductsService, IFavoriteProductService favoriteProductService) { this.recipesService = recipesService; this.shopProductsService = shopProductsService; this.favoriteProductService = favoriteProductService; }
public FavoriteProductsController(IFavoriteProductService favoriteProductService) { this.favoriteProductService = favoriteProductService; }