Esempio n. 1
0
 // 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());
 }
Esempio n. 2
0
 // 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());
 }