public void Config(Seed seed) { model.Database.EnsureCreated(); query = new QueryManager(model, userManager); scoreManager = new ScoreManager(); if (query.GetNumberOfQuestions() <= 0) { seed.AddQuestions(); } }