AspNetCore.Docs.Samples/mvc/models/BindTryParseMVC/Models/ErrorViewModel.cs

9 lines
199 B
C#
Raw Normal View History

2022-07-15 05:24:37 +08:00
namespace BindTryParseMVC.Models
{
public class ErrorViewModel
{
public string? RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}