From ebb26ae709570a84004c27f34e9307c33ac6b000 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Fri, 19 Apr 2024 00:55:07 +0200 Subject: Add Solution --- solve/PhotoEditor/Models/ErrorViewModel.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 solve/PhotoEditor/Models/ErrorViewModel.cs (limited to 'solve/PhotoEditor/Models/ErrorViewModel.cs') diff --git a/solve/PhotoEditor/Models/ErrorViewModel.cs b/solve/PhotoEditor/Models/ErrorViewModel.cs new file mode 100644 index 0000000..b4fec48 --- /dev/null +++ b/solve/PhotoEditor/Models/ErrorViewModel.cs @@ -0,0 +1,8 @@ +namespace PhotoEditor.Models; + +public class ErrorViewModel +{ + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); +} -- cgit v1.2.3-71-gd317