private static async Task InsertFortunes(JWTTokenContext db) { var fortunes = GetFortunes(); foreach (var fortune in fortunes) { db.JWTTokens.Add(fortune); } await db.SaveChangesAsync(); }
public JWTTokenRepository(JWTTokenContext db) { _db = db; }