public ActionResult Selector() { var repo = new ViewModelStore(); var model = repo.GetTestLibraries(); return(View(model)); }
public ActionResult Create(CreateTestSuiteViewModel model) { var reader = new TestSuiteImporter(); reader.Import(model.Id, model.Path); ViewBag.SuccessMessage = "Test Suite Import Successful"; var repo = new ViewModelStore(); var viewModel = repo.GetTestLibraries(); return(View("Index", viewModel)); }