Ejemplo n.º 1
0
        public ActionResult Selector()
        {
            var repo  = new ViewModelStore();
            var model = repo.GetTestLibraries();

            return(View(model));
        }
Ejemplo n.º 2
0
        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));
        }