public ActionResult AnhadirTest(int?idCurso, int?idTest)
        {
            if (idCurso == null || idTest == null)
            {
                return(Content("algo anda mal, evita navegar a mano"));
            }



            TestCurso tc = new TestCurso();

            tc.TestID  = (int)idTest;
            tc.CursoID = (int)idCurso;

            TestsCursosController tcController = new TestsCursosController();

            tcController.Create(tc);

            return(RedirectToAction("Index"));
        }