public IActionResult OnPost(string[] userCheckboxes)
        {
            var TestUsers = apTestData.GetApplicantsAssignedToTestByID(Test.ID);

            if (TestUsers.Count == 0)
            {
                apTestData.AddApplicantsToTest(Test, userCheckboxes);
                TempData["Message"] = "Users Added to Test";
            }
            else
            {
                apTestData.UpdateApplicantsAssignedToTest(Test, userCheckboxes);
                TempData["Message"] = "Test Users Updated";
            }

            apTestData.Commit();

            return(RedirectToPage("./TestDetail", new { TestID = Test.ID }));
        }