public IActionResult UkprnRemoved(string ukprn)
        {
            if (!int.TryParse(ukprn, out var providerUkprn))
            {
                return(RedirectToAction(nameof(Index)));
            }

            var model = new UkprnRemovedFromAllowedProvidersListViewModel
            {
                Ukprn = providerUkprn
            };

            return(View("~/Views/Roatp/AllowedProviders/UkprnRemoved.cshtml", model));
        }
        public void UkprnRemoved_creates_correct_viewmodel(int ukprn)
        {
            var expectedViewModel = new UkprnRemovedFromAllowedProvidersListViewModel
            {
                Ukprn = ukprn
            };

            var result = _controller.UkprnRemoved(ukprn.ToString());

            var viewResult = result as ViewResult;
            var viewModel  = viewResult?.Model as UkprnRemovedFromAllowedProvidersListViewModel;

            Assert.IsNotNull(viewModel);
            Assert.AreEqual(expectedViewModel.Ukprn, viewModel.Ukprn);
        }