public ReportsRepository(DapperContext dbContext, IPortalSettingsRepository portalSettingsRepositoryInstance)
 {
     _dapperContext           = dbContext;
     _context                 = dbContext.Connection;
     portalSettingsRepository = portalSettingsRepositoryInstance;
 }
示例#2
0
 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;
        }