public WarrantyStatusService(IUserService userService,
                              IWarrantyStatusCacheService warrantyStatusCacheService,
                              IDapperReadOnlyRepository readOnlyRepository,
                              IDapperWriteRepository writeRepository) : base(readOnlyRepository,
                                                                             writeRepository)
 {
     _userService = userService;
     _warrantyStatusCacheService = warrantyStatusCacheService;
 }
Exemple #2
0
 public RedisContext(IAppConfigCacheService appConfigCacheService,
                     IBranchCacheService branchCacheService,
                     ICountryCacheService countryCacheService,
                     IProductStatusCacheService productStatusCacheService,
                     IManufacturerCacheService manufacturerCacheService,
                     ICrmPriorityCacheService crmPriorityCacheService,
                     ICrmStatusCacheService crmStatusCacheService,
                     ICrmTypeCacheService crmTypeCacheService,
                     ICustomerSourceCacheService customerSourceCacheService,
                     IProductGroupCacheService productGroupCacheService,
                     IUserCacheService userCacheService,
                     IProvinceCacheService provinceCacheService,
                     IDistrictCacheService districtCacheService,
                     IWardCacheService wardCacheService,
                     ICustomerGroupCacheService customerGroupCacheService,
                     ICustomerVipCacheService customerVipCacheService,
                     ICustomerCacheService customerCacheService,
                     ICrmCacheService crmCacheService,
                     IPayMethodCacheService payMethodCacheService,
                     IInvoiceStatusCacheService invoiceStatusCacheService,
                     ITaskStatusCacheService taskStatusCacheService,
                     ITaskPriorityCacheService taskPriorityCacheService,
                     ITaskTypeCacheService taskTypeCacheService,
                     ITaskLoopCacheService taskLoopCacheService,
                     IReceiptStatusCacheService receiptStatusCacheService,
                     IReceiptDescriptionCacheService receiptDescriptionCacheService,
                     IWarrantyStatusCacheService warrantyStatusCacheService,
                     IWarrantyDescriptionCacheService warrantyDescriptionCacheService,
                     ICandidateStatusCacheService candidateStatusCacheService,
                     IProductUnitCacheService productUnitCacheService,
                     IRecruitmentStatusCacheService recruitmentStatusCacheService,
                     ICustomerUserCacheService customerUserCacheService,
                     ICrmUserCacheService crmUserCacheService)
 {
     _appConfigCacheService           = appConfigCacheService;
     _branchCacheService              = branchCacheService;
     _productStatusCacheService       = productStatusCacheService;
     _manufacturerCacheService        = manufacturerCacheService;
     _countryCacheService             = countryCacheService;
     _crmPriorityCacheService         = crmPriorityCacheService;
     _crmStatusCacheService           = crmStatusCacheService;
     _crmTypeCacheService             = crmTypeCacheService;
     _customerSourceCacheService      = customerSourceCacheService;
     _productGroupCacheService        = productGroupCacheService;
     _userCacheService                = userCacheService;
     _provinceCacheService            = provinceCacheService;
     _districtCacheService            = districtCacheService;
     _wardCacheService                = wardCacheService;
     _customerGroupCacheService       = customerGroupCacheService;
     _customerVipCacheService         = customerVipCacheService;
     _customerCacheService            = customerCacheService;
     _crmCacheService                 = crmCacheService;
     _payMethodCacheService           = payMethodCacheService;
     _invoiceStatusCacheService       = invoiceStatusCacheService;
     _taskStatusCacheService          = taskStatusCacheService;
     _taskPriorityCacheService        = taskPriorityCacheService;
     _taskTypeCacheService            = taskTypeCacheService;
     _taskLoopCacheService            = taskLoopCacheService;
     _receiptStatusCacheService       = receiptStatusCacheService;
     _receiptDescriptionCacheService  = receiptDescriptionCacheService;
     _warrantyDescriptionCacheService = warrantyDescriptionCacheService;
     _warrantyStatusCacheService      = warrantyStatusCacheService;
     _candidateStatusCacheService     = candidateStatusCacheService;
     _recruitmentStatusCacheService   = recruitmentStatusCacheService;
     _productUnitCacheService         = productUnitCacheService;
     _customerUserCacheService        = customerUserCacheService;
     _crmUserCacheService             = crmUserCacheService;
 }