public TestViewModel(MainViewModel main, Action close, bool additing) { Test = new PresentationTest(); MainViewModel = main; _close = close; IsNew = additing; if (main.SelectedItemTest != null) { Test = main.SelectedItemTest; } }
public void DeleteTest(PresentationTest test) { _basicsOperationTest.DeleteTest(test); RefreshTest(); }
public void ChangeTest(PresentationTest test) { _basicsOperationTest.ChangeTest(test); RefreshTest(); }
public void AddTest(PresentationTest test) { _basicsOperationTest.AddTest(test); RefreshTest(); }