public async Task <IActionResult> SuccessVoting(int id) { PollFlexibleModel displayModel = await _modelPopulator.PopulatePollName(id); displayModel.RedirectingUrl = _urlGenerator.GetResultsPageUrl(id, Url, _httpContextAccessor); return(View(displayModel)); }