public void CleanUp()
 {
     Result[] results = Repository.GetAll();
     foreach (Result result in results)
     {
         Repository.Remove(result);
     }
     InfrastructureTestsSeed.RemoveAll(dbContext);
 }
Ejemplo n.º 2
0
 public void CleanUp()
 {
     Attendance[] attendances = Repository.GetAll();
     foreach (Attendance attendance in attendances)
     {
         Repository.Remove(attendance);
     }
     InfrastructureTestsSeed.RemoveAll(dbContext);
 }
Ejemplo n.º 3
0
        public void CleanUp()
        {
            Comment[] comments = Repository.GetAll();
            foreach (Comment comment in comments)
            {
                Repository.Remove(comment);
            }

            InfrastructureTestsSeed.RemoveAll(Context);
        }