public ProductController(IProductServices productServices, ICategoryServices categoryServices, IProductImageServices productImageServices, IHostingEnvironment env)
 {
     _productServices      = productServices;
     _categoryServices     = categoryServices;
     _productImageServices = productImageServices;
     _env = env;
 }
Exemple #2
0
 public PublisherAdminController(IProductServices product, IPublisherServices publisher,
                                 IProductImageServices productImage, IReviewServices review, IOrderDetailServices orderDetail)
 {
     _product      = product;
     _publisher    = publisher;
     _productImage = productImage;
     _review       = review;
     _orderDetail  = orderDetail;
 }
 public CategoryAdminController(IProductServices product, ICategoryServices category,
                                IProductImageServices productImage, IReviewServices review, IOrderDetailServices orderDetail)
 {
     _product      = product;
     _category     = category;
     _productImage = productImage;
     _review       = review;
     _orderDetail  = orderDetail;
 }