예제 #1
0
        public void OnGet()
        {
            StudentDataService sds = new StudentDataService();

            (HousePoints, houses_filled) = sds.GetHousePoints();

            if (HousePoints == null)
            {
                DisplayMessage = "Error Obtaining Student Records from the Database.";
            }
            else
            {
                DisplayMessage = "Current Point Totals for Each House";
            }
        }