Exemple #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));
 }
Exemple #2
0
 public BalanceController(traperto_kurtContext dbcontext, AccountService accountService)
 {
     this.dbcontext      = dbcontext;
     this.accountService = accountService;
 }
Exemple #3
0
 public DrinksController(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }
Exemple #4
0
 public AccountService(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }
Exemple #5
0
 private static void InitializeUserAndRoles(traperto_kurtContext context)
 {
     // init user and roles
 }
Exemple #6
0
 public BuyController(traperto_kurtContext dbcontext)
 {
     this.dbcontext = dbcontext;
 }