public ApiClientAsync(ApiConfig config) { _config = config; _apiHttpClient = new ApiHttpClient(_config); CartService = new CartServiceAsync(_apiHttpClient, _config); ProductService = new ProductServiceAsync(_apiHttpClient, _config); }
public ProductController(IProductServiceAsync productServiceAsync) { _productServiceAsync = productServiceAsync; }
public ProductsController(IUnitOfWork context, IProductServiceAsync productServiceAsync, IMapper mapper) { _unitOfWork = context; _productServiceAsync = productServiceAsync; _mapper = mapper; }