public DataCollectionManager(ICatalogApiService catalogApiService, ISystemConfiguration config, IMerchantRepository merchantRepository, IProductLogRepository productLogRepository, IBus bus) { if (catalogApiService == null) { throw new ArgumentNullException("catalogApiService"); } if (productLogRepository == null) { throw new ArgumentNullException("productLogRepository"); } if (merchantRepository == null) { throw new ArgumentNullException("merchantRepository"); } if (config == null) { throw new ArgumentNullException("config"); } if (bus == null) { throw new ArgumentNullException("bus"); } _merchantRepository = merchantRepository; _config = config; _catalogApiService = catalogApiService; _productLogRepository = productLogRepository; _bus = bus; }
public UnitOfWork(ApplicationDbContext.ApplicationDbContext context, IProductLogRepository productLogs, IBillingRepository billings, IProductRepository products, IUserRepository users, IProductLikeRepository productLikes) { _context = context; ProductLogs = productLogs; Billings = billings; Products = products; Users = users; ProductLikes = productLikes; }
public ProductLogService(IProductLogRepository productLogRepository, IProductRepository productRepository, IUnitOfWork uow , IEmployeeRepository employeeRepository, IStoreRepository storeRepository, IStoreProductRepository storeProductrepository, IStoreProductService storproductService) : this(productLogRepository, uow) { this._productRepository = productRepository; _employeeRepository = employeeRepository; _storRepository = storeRepository; _storeProductrepository = storeProductrepository; _storproductService = storproductService; }
public ReceivedCatalogMessageHandler(IProductUpdateHandler productUpdateHandler, IProductLogRepository productLogRepository, IVenueProductRepository venueProductRepository) { if (productUpdateHandler == null) { throw new ArgumentNullException("productUpdateHandler"); } if (productLogRepository == null) { throw new ArgumentNullException("productLogRepository"); } if (venueProductRepository == null) { throw new ArgumentNullException("venueProductRepository"); } _venueProductRepository = venueProductRepository; _productUpdateHandler = productUpdateHandler; _productLogRepository = productLogRepository; }
public ProductLogService(IProductLogRepository productLogRepository, IUnitOfWork uow) { _productLogRepository = productLogRepository; _uow = uow; }