public ProductService( IUnitOfWork uow, IProductSQLServerRepository sqlServerRepository, IProductRedisRepository redisRepository, ProductValidator validationRules) : base(uow, sqlServerRepository, redisRepository, validationRules) { _uow = uow; _sqlServerRepository = sqlServerRepository; _redisRepository = redisRepository; _validationRules = validationRules; }
public OrderService( IUnitOfWork uow, IOrderSQLServerRepository sqlServerRepository, IOrderRedisRepository redisRepository, ICustomerSQLServerRepository customerSQLServerRepository, IProductSQLServerRepository productSQLServerRepository, OrderValidator validationRules) : base(uow, sqlServerRepository, redisRepository, validationRules) { _uow = uow; _sqlServerRepository = sqlServerRepository; _redisRepository = redisRepository; _validationRules = validationRules; _customerSQLServerRepository = customerSQLServerRepository; _productSQLServerRepository = productSQLServerRepository; }