public void GetAllTest()
        {
            DbContextHelper.Init(typeof(CourseDbContext), GlobalSettings.DATABASE.ConnectionString, 8);

            AbsenceManageRepository repo = new AbsenceManageRepository();
            Assert.AreEqual(1, repo.GetAll().Count);
        }
        public void DestroyTest()
        {
            DbContextHelper.Init(typeof(CourseDbContext), GlobalSettings.DATABASE.ConnectionString, 8);

            AbsenceManageRepository repo = new AbsenceManageRepository();
            Assert.AreEqual(true, repo.Destroy(1002));
        }