Ejemplo n.º 1
0
        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;
 }
Ejemplo n.º 3
0
 public UserRepository(PromotionDbContext dbContext) : base(dbContext)
 {
 }
 public DiscountCampaignRepository(PromotionDbContext promotionDbContext)
 {
     _promotionDbContext = promotionDbContext;
 }
Ejemplo n.º 5
0
 public BonusController(PromotionDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 6
0
 public FirstInit(PromotionDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Ejemplo n.º 7
0
 public RolesController(PromotionDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 8
0
 public PeriodsController(PromotionDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 9
0
 public RoleRepository(PromotionDbContext dbContext) : base(dbContext)
 {
 }
Ejemplo n.º 10
0
 public BaseRepository(PromotionDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public DiscountCodeRepository(PromotionDbContext promotionDbContext)
 {
     _promotionDbContext = promotionDbContext;
 }