public CustomerService( IUnitOfWork uow, ICustomerSQLServerRepository sqlServerRepository, ICustomerRedisRepository redisRepository, CustomerValidator 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; }