示例#1
0
        public override void InitializeDatabase(ExamAppDbContext db)
        {
            base.InitializeDatabase(db);
            db.Database.CreateIfNotExists();
            InitExams(db);

            Scanner scanner   = new Scanner();
            var     synchTask = scanner.AddNewTasks(db);

            synchTask.Wait();

            InitRoles(db);
        }