public ActionResult getProfessorGroups(int pIDCurso, int pIDSede, int pIDProfesor)
        {
            if (HttpContext.Request.IsAjaxRequest())
            {
                var json      = "";
                var vPeriod   = Request.Cookies["Periodo"].Value;
                var vIDPeriod = db.Periods.Find(int.Parse(vPeriod)).ID;

                var sp_getProfessorGroups = db.SP_Professor_Group(pIDCurso, pIDSede, vIDPeriod, pIDProfesor).ToList();
                json = JsonConvert.SerializeObject(sp_getProfessorGroups);
                return(Content(json));
            }
            return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
        }