public void ShouldAssertProviderCannotUndoEmployerUpdate()
        {
            //Arrange
            _pendingApprenticeshipUpdate.ApprenticeshipUpdate.Originator = Originator.Employer;

            //Act
            Func <Task> act = async() => await _orchestrator.GetUndoApprenticeshipUpdateModel(0, "");

            act.Should().Throw <ValidationException>();
        }
        public async Task <ActionResult> UndoChanges(long providerId, string hashedApprenticeshipId)
        {
            var model = await _orchestrator.GetUndoApprenticeshipUpdateModel(providerId, hashedApprenticeshipId);

            return(View(model));
        }