private void CleanupCreatedEntries() { var context = this.fixture.GetCurrentDataContext(); foreach (var ctgyid in ctgiesCreated) { fixture.DeleteLearnCategory(context, ctgyid); } ctgiesCreated.Clear(); context.SaveChanges(); }
private void CleanupCreatedEntries() { var context = this.fixture.GetCurrentDataContext(); foreach (var ctgyid in ctgiesCreated) { fixture.DeleteLearnCategory(context, ctgyid); } ctgiesCreated.Clear(); context.SaveChanges(); }