public void ThenTheReactivatedRegistrationWillDisplayTheGradeAs(string ExpectedGrade)
        {
            var uln        = scenarionContext["uln"] as string;
            int GradeCount = SqlQueries.ReturnLastActiveGradeCount(uln);

            if (GradeCount == 0)
            {
                string ExpectedDBGrade = "Not received";
                Console.WriteLine(ExpectedDBGrade);
                ResultsLearnersResultsPage.VerifyGradeText(ExpectedGrade);
                ResultsLearnersResultsPage.VerifyGradeText(ExpectedDBGrade);
            }
            else
            {
                string ExpectedDBGrade = SqlQueries.ReturnLastActiveGrade(uln);
                Console.WriteLine(ExpectedDBGrade);
                ResultsLearnersResultsPage.VerifyGradeText(ExpectedGrade);
                //This checks the last active grade on the database matches the grade shown against the registration
                ResultsLearnersResultsPage.VerifyGradeText(ExpectedDBGrade);
            }
        }