Пример #1
0
 public AuthController(traperto_kurtContext dbcontext, IConfiguration configuration)
 {
     _dbcontext     = dbcontext;
     _configuration = configuration;
     SECRET_KEY     = configuration["JWTSecretKey"];
     SIGNING_KEY    = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(SECRET_KEY));
 }
Пример #2
0
 public BalanceController(traperto_kurtContext dbcontext, AccountService accountService)
 {
     this.dbcontext      = dbcontext;
     this.accountService = accountService;
 }
Пример #3
0
 public DrinksController(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }
Пример #4
0
 public AccountService(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }
Пример #5
0
 private static void InitializeUserAndRoles(traperto_kurtContext context)
 {
     // init user and roles
 }
Пример #6
0
 public BuyController(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }