Ejemplo n.º 1
0
 public EcommerceService(IProductRepositoryAsync productRepository, IOrderRepositoryAsync orderRepository)
 {
     this.productRepository = productRepository;
     this.orderRepository   = orderRepository;
 }
Ejemplo n.º 2
0
 public OrderService(IOrderRepositoryAsync repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Ejemplo n.º 3
0
 public OrderServiceAsync(IOrderRepositoryAsync repostory,
                          IOrderItemRepositoryAsync orderItemRepositoryAsync) : base(repostory)
 {
     _repostory = repostory;
     _orderItemRepositoryAsync = orderItemRepositoryAsync;
 }