public async Task <IActionResult> Index(Guid id) { var model = await _buildAmendDirectDebitVmService.Build(ApplicationSessionState, id, GetCaseflowUserId()); Debug.Assert(model.InitialState == null); model.InitialState = SerialiseModel(model); await _webActivityService.LogAmendDDPlanSelected(model.LowellReference, LoggedInUserId); _gtmService.RaiseAmendDirectDebitEvent_PageVisited(model, LoggedInUserId); ApplicationSessionState.LogSetUpPlanResult = true; model.SelectedPlanSetupOption = PlanSetupOptions.None; return(View(model)); }