// GET: Clsses public IActionResult Index() { AcaFunctions.GetSchTeachers(_context, false); ViewBag.dropdownTeacher = drpTeachLst; //ViewBag.dropdownTeacher = new SelectList(SchTeachLst, "Value", "Text", null); //new string[] { "Badminton", "Basketball", "Cricket", "Football", "Golf", "Gymnastics", "Hockey", "Tennis" }; AcaFunctions.GetSchSession(_context); ViewBag.dropdownSession = strSessLst; return(View()); }
// GET: ActivityGroups public async Task <IActionResult> Index() { AcaFunctions.GetActivityGradeType(_context, false); AcaFunctions.GetSchSession(_context); AcaFunctions.GetSchClss(_context); ViewBag.dropdownSession = strSessLst; ViewBag.dropdownGradeType = drpActGrdLst; ViewBag.dropdownClss = drpClsLst; return(View()); }