public ReviewsController( IProductsDataService productsData, IReviewsDataService reviewsData) { this.productsData = productsData; this.reviewsData = reviewsData; }
public ProductsController( IProductsDataService productsData, ICategoriesDataService categoriesData, ISellersDataService sellersData, IImagesDataService imagesData, IReviewsDataService reviewsData, IHostingEnvironment appEnvironment) { this.productsData = productsData; this.categoriesData = categoriesData; this.sellersData = sellersData; this.imagesData = imagesData; this.reviewsData = reviewsData; this.appEnvironment = appEnvironment; }