public void RemoveTest(Test test) { for (int i = Context.Count - 1; i >= 0; i--) { var context = Context[i]; TestRemoveService.Remove(context.TestCollection, test); if (context.Count == 0) { Context.RemoveAt(i); } } }
private void RemoveTestTestList(Test test) { TestRemoveService.Remove(_testList, test); RefreshReportEntities(); }