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