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