Ejemplo n.º 1
0
 public ProductController(IProductBusinessLogic productBusinessLogic,
                          IProductImagesBusinessLogic productImagesBusinessLogic,
                          IMapper mapper)
 {
     _mapper = mapper;
     _productBusinessLogic       = productBusinessLogic;
     _productImagesBusinessLogic = productImagesBusinessLogic;
 }
Ejemplo n.º 2
0
 public CatalogController(IProductBusinessLogic productBusinessLogic,
                          IProductImagesBusinessLogic productImagesBusinessLogic,
                          IMapper mapper, WebStoreDbContext context)
 {
     _mapper  = mapper;
     _context = context;
     _productBusinessLogic       = productBusinessLogic;
     _productImagesBusinessLogic = productImagesBusinessLogic;
 }