public async Task ThenConfirmRestartGetsCorrectDataLockEvent() { // Act var result = await _orchestrator.GetConfirmRestartViewModel(1, "TEST"); // Assert Assert.AreEqual(EventId, result.DataLockEventId); }
public async Task <ActionResult> ConfirmRestart(long providerId, string hashedApprenticeshipId) { var model = await _orchestrator.GetConfirmRestartViewModel(providerId, hashedApprenticeshipId); return(View("ConfirmRestart", model)); }