public UserSynchronizer(PromotionDbContext promotionDbContext, IConfiguration configuration) { _promotionDbContext = promotionDbContext; _configuration = configuration; var identityServerSection = _configuration.GetSection("IdentityServer"); identityServerUrl = identityServerSection.GetValue <string>("Host"); identityServiceClientId = identityServerSection.GetValue <string>("IdentityServiceClientId"); identityServiceClientSecret = identityServerSection.GetValue <string>("IdentityServiceClientSecret"); identityServiceGrantType = identityServerSection.GetValue <string>("IdentityServiceGrantType"); var defaultAdminUserSection = _configuration.GetSection("DefaultAdminUser"); login = defaultAdminUserSection.GetValue <string>("Login"); password = defaultAdminUserSection.GetValue <string>("Password"); }
public BonusTransactionStatusDataController(PromotionDbContext context) { _context = context; }
public UserRepository(PromotionDbContext dbContext) : base(dbContext) { }
public DiscountCampaignRepository(PromotionDbContext promotionDbContext) { _promotionDbContext = promotionDbContext; }
public BonusController(PromotionDbContext context) { _context = context; }
public FirstInit(PromotionDbContext dbContext) { this.dbContext = dbContext; }
public RolesController(PromotionDbContext context) { _context = context; }
public PeriodsController(PromotionDbContext context) { _context = context; }
public RoleRepository(PromotionDbContext dbContext) : base(dbContext) { }
public BaseRepository(PromotionDbContext dbContext) { _dbContext = dbContext; }
public DiscountCodeRepository(PromotionDbContext promotionDbContext) { _promotionDbContext = promotionDbContext; }