File: Models\ErrorViewModel.cs
Web Access
Project: src\src\Mvc\samples\MvcFormSample\MvcFormSample.csproj (MvcFormSample)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace MvcFormSample.Models;
 
public class ErrorViewModel
{
    public string? RequestId { get; set; }
 
    public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}