Exemplo n.º 1
0
 public CartService(ICartRepository cartRepository,
                    IGetCartQuery getCartQuery,
                    IUnitOfWork unitOfWork)
 {
     _cartRepository = cartRepository;
     _getCartQuery   = getCartQuery;
     _unitOfWork     = unitOfWork;
 }
 public CartController(ICartService cartService, IGetCartQuery getCartQuery)
 {
     _cartService  = cartService;
     _getCartQuery = getCartQuery;
 }