Example #1
0
 public ReviewsController(
     IProductsDataService productsData,
     IReviewsDataService reviewsData)
 {
     this.productsData = productsData;
     this.reviewsData  = reviewsData;
 }
Example #2
0
 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;
 }