public UserService(IUserRepository userRepository, IMapper mapper, IUserBasketRepository basketRepository) { _userRepository = userRepository; _mapper = mapper; _basketRepository = basketRepository; }
public ShoppingBasketService(IUserBasketRepository userBasketRepository, IBasketItemRepository basketItemRepository, IDiscountRepository discountRepository) { this.userBasketRepository = userBasketRepository; this.basketItemRepository = basketItemRepository; this.discountRepository = discountRepository; }