public async Task <IActionResult> MortgageRate() { _logger.LogInformation(GetLogDetails()); var result = await _mortgageService.GetCreateMortgageRateViewModelAsync(); if (result.Success) { return(View(result.Model)); } SetSiteMessage(MessageType.Error, DisplayFor.FullRequest, result.Error); return(RedirectToAction(nameof(Index))); }