예제 #1
0
        public async Task ThenConfirmRestartGetsCorrectDataLockEvent()
        {
            // Act
            var result = await _orchestrator.GetConfirmRestartViewModel(1, "TEST");

            // Assert
            Assert.AreEqual(EventId, result.DataLockEventId);
        }
예제 #2
0
        public async Task <ActionResult> ConfirmRestart(long providerId, string hashedApprenticeshipId)
        {
            var model = await _orchestrator.GetConfirmRestartViewModel(providerId, hashedApprenticeshipId);

            return(View("ConfirmRestart", model));
        }