public ReportsRepository(DapperContext dbContext, IPortalSettingsRepository portalSettingsRepositoryInstance) { _dapperContext = dbContext; _context = dbContext.Connection; portalSettingsRepository = portalSettingsRepositoryInstance; }
public PortalSettingsService(IPortalSettingsRepository portalSettingsRepo, ICacheService cacheServiceInstance) { portalSettingsRepository = portalSettingsRepo; cacheService = cacheServiceInstance; }
public SecurityRepository(DapperContext dbContext, IPortalSettingsRepository portalSettingsRepositoryInstance) { dapperContext = dbContext; context = dbContext.Connection; portalSettingsRepository = portalSettingsRepositoryInstance; }
// PasswordHistoryValidator validator = new PasswordHistoryValidator(); // ValidationState validationState = new ValidationState(); #endregion #region Constructors public PasswordHistoryService(IPasswordHistoryRepository passwordHistoryRepo, IPortalSettingsRepository portalSettingsRepo, ICacheService cacheServiceInstance) { passwordHistoryRepository = passwordHistoryRepo; cacheService = cacheServiceInstance; portalSettingsRepository = portalSettingsRepo; }