public CartService(ICartRepository cartRepository, IProductCartRepository productCartRepository) { _cartRepository = cartRepository; _productCartRepository = productCartRepository; }
public ProductCartService(IProductCartRepository productCartRepository) { _productCartRepository = productCartRepository; }
//private global::DataAccess.Repositories.ProductCartRepository productCartRepository; public ProductCartService(IProductCartRepository repository) { _repository = repository; }
public ProductCartAppService(IMapper mapper, IProductCartRepository productCartRepository, IProductCartService productCartService) { _mapper = mapper; _productCartRepository = productCartRepository; _productCartService = productCartService; }