public AuthController(traperto_kurtContext dbcontext, IConfiguration configuration) { _dbcontext = dbcontext; _configuration = configuration; SECRET_KEY = configuration["JWTSecretKey"]; SIGNING_KEY = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(SECRET_KEY)); }
public BalanceController(traperto_kurtContext dbcontext, AccountService accountService) { this.dbcontext = dbcontext; this.accountService = accountService; }
public DrinksController(traperto_kurtContext dbcontext) { this.dbcontext = dbcontext; }
public AccountService(traperto_kurtContext dbcontext) { this.dbcontext = dbcontext; }
private static void InitializeUserAndRoles(traperto_kurtContext context) { // init user and roles }
public BuyController(traperto_kurtContext dbcontext) { this.dbcontext = dbcontext; }