public ActionResult QuitarDelCurso(int?id)
        {
            if (id == null)
            {
                return(HttpNotFound());
            }

            TestCurso tc = db.TestCursoes.Find(id);

            if (tc == null)
            {
                return(Content("Intente no navegar a mano"));
            }


            TestsCursosController tcController = new TestsCursosController();

            tcController.DeleteConfirmed((int)id);

            return(RedirectToAction("Test", new { id = tc.TestID }));
        }