Exemplo n.º 1
0
 public OrderService(IOrderRepository repository
                     , IMqServices mqServices
                     , IEmailItemDetails details
                     , ICacheRepository cacheRepository)
 {
     _repository      = repository;
     _mqServices      = mqServices;
     _emailItems      = details;
     _cacheRepository = cacheRepository;
 }
Exemplo n.º 2
0
 public CartService(ICartRepository repository
                    , IOrderRepository orderRepository
                    , IMqServices mqServices
                    , IEmailItemDetails details
                    , ICacheRepository cacheRepository)
 {
     _repository      = repository;
     _orderRepository = orderRepository;
     _mqservice       = mqServices;
     _emailItems      = details;
     _cacheRepository = cacheRepository;
 }