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