Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackgroundSync"/> class.
 /// </summary>
 /// <param name="productService">The productService<see cref="IProductService"/>.</param>
 /// <param name="productDBService">The productDBService<see cref="IProductDBService"/>.</param>
 /// <param name="apiRepository">The apiRepository<see cref="IApiRepository"/>.</param>
 public BackgroundSync(IProductService productService, IProductDBService productDBService, IApiRepository apiRepository)
 {
     _productService   = productService;
     _productDBService = productDBService;
     _apiRepository    = apiRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductService"/> class.
 /// </summary>
 /// <param name="apiRepository">The apiRepository<see cref="IApiRepository"/>.</param>
 /// <param name="productDBService">The productDBService<see cref="IProductDBService"/>.</param>
 public ProductService(IApiRepository apiRepository, IProductDBService productDBService)
 {
     _apiRepository    = apiRepository;
     _productDBService = productDBService;
 }