public IActionResult Error() { string requestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; var errorViewModel = ErrorViewModel.Create(requestId); return(View(errorViewModel)); }
public IActionResult Error() { var errorViewModel = ErrorViewModel.Create(Activity.Current?.Id ?? HttpContext.TraceIdentifier); return(View(errorViewModel)); }