Esempio n. 1
0
 public ShoppingCartService(IShoppingCartRepository shoppingCartRepository, IProductManager productManager, IMapper mapper, IAmmountRepository ammountRepository)
 {
     _shoppingCartRepository = shoppingCartRepository;
     _productManager         = productManager;
     _mapper            = mapper;
     _ammountRepository = ammountRepository;
 }
 public ProductManagerService(IProductManager productManager, IProductImageRepository imageRepository,
                              IAmmountRepository ammountRepository, IMapper mapper, IProductsListRepository productsListRepository)
 {
     _productManager         = productManager;
     _imageRepository        = imageRepository;
     _ammountRepository      = ammountRepository;
     _mapper                 = mapper;
     _productsListRepository = productsListRepository;
 }