public ActionResult Create(TestSuiteVM testSuiteVM)
        {
            var testsuite = Mapper.Map<TestSuiteVM, TestSuite>(testSuiteVM);
            db.TestSuites.Add(testsuite);
            db.SaveChanges();

            return RedirectToAction("Index", "TestCasesPerTestSuite", new { id = testsuite.TeamID });
        }
        public ActionResult Edit(TestSuiteVM testSuiteVM)
        {
            TestSuite testsuite = db.TestSuites.Find(testSuiteVM.TeamID);
            if (testsuite == null) return HttpNotFound();
            db.Entry(testsuite).CurrentValues.SetValues(testSuiteVM);
            db.SaveChanges();

            return RedirectToAction("Index", "TestCasesPerTestSuite", new { id = testsuite.TeamID });
        }
        public ActionResult Create()
        {
            TestSuiteVM testSuiteVM = new TestSuiteVM
            {
                Teams = new SelectList(GetTeamsWithNoTestsuite(), "TeamID", "Name")
            };

            return View("Create", testSuiteVM);
        }