From 77b7ff6ca840866605204e5d501fe23dd184bd5c Mon Sep 17 00:00:00 2001 From: "ivaylo.zhelev" Date: Sun, 24 Jan 2021 09:25:15 +0200 Subject: Initial Commit - Add all project files --- src/Web/PCC.Web/Models/ErrorViewModel.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/Web/PCC.Web/Models/ErrorViewModel.cs (limited to 'src/Web/PCC.Web/Models/ErrorViewModel.cs') diff --git a/src/Web/PCC.Web/Models/ErrorViewModel.cs b/src/Web/PCC.Web/Models/ErrorViewModel.cs new file mode 100644 index 0000000..cc990fb --- /dev/null +++ b/src/Web/PCC.Web/Models/ErrorViewModel.cs @@ -0,0 +1,11 @@ +using System; + +namespace PCC.Web.Models +{ + public class ErrorViewModel + { + public string RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + } +} -- cgit v1.3.1-26-gb76a