protected override async Task <IActionResult> PrepareAndDisplayPageAsync(bool isBeingSubmitted)
        {
            TestData             = Notification.TestData;
            CultureAndResistance = await _cultureAndResistanceService.GetCultureAndResistanceDetailsAsync(NotificationId);

            Specimens = await _specimenService.GetMatchedSpecimenDetailsForNotificationAsync(NotificationId);

            await SetNotificationProperties(isBeingSubmitted, TestData);

            if (TestData.ShouldValidateFull)
            {
                TryValidateTestData(TestData, nameof(TestData));
            }

            return(Page());
        }
        public async Task <IActionResult> OnGetAsync()
        {
            Notification = await NotificationRepository.GetNotificationWithAllInfoAsync(NotificationId);

            if (Notification == null)
            {
                return(NotFound());
            }

            await GetLinkedNotificationsAsync();
            await AuthorizeAndSetBannerAsync();

            if (PermissionLevel == PermissionLevel.None)
            {
                return(RedirectToPage("/Notifications/Overview", new { NotificationId }));
            }

            TestData             = Notification.TestData;
            CultureAndResistance = await _cultureAndResistanceService.GetCultureAndResistanceDetailsAsync(NotificationId);

            Specimens = await _specimenService.GetMatchedSpecimenDetailsForNotificationAsync(NotificationId);

            return(Page());
        }