private void InitializeDatabase()
 {
     using (BoektQuizContext context = BoektQuizContextFactory.Create())
     {
         context.Database.Migrate();
     };
 }
Exemplo n.º 2
0
 public QuestionRepository(BoektQuizContext context)
 {
     _context = context;
 }
 public RoundRepository(BoektQuizContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public AnswerRepository(BoektQuizContext context)
 {
     _context = context;
 }
 public TeamRepository(BoektQuizContext context)
 {
     _context = context;
 }