Beispiel #1
0
        // GET: Periodo
        public ActionResult Index()
        {
            gPeriod = AddNewSemester();

            int vIdPeriod = getIDPeriod(gPeriod.Year, gPeriod.NumberID);
            var vResult   = gvDatabase.SP_CreateGroupsinNewSemester(vIdPeriod);

            ViewBag.Period   = "" + gPeriod.Year + " - " + gPeriod.NumberID + " Semestre";
            ViewBag.IdPeriod = vIdPeriod;
            return(View(getGroupsList(vIdPeriod)));
        }