refact
This commit is contained in:
parent
ec5bd7ca1f
commit
1b2d850522
33 changed files with 49 additions and 88 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using IdentityServer4.Models;
|
||||
|
||||
namespace nuget_host.Models
|
||||
{
|
||||
|
|
@ -7,5 +8,18 @@ namespace nuget_host.Models
|
|||
public string RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
|
||||
|
||||
public ErrorViewModel()
|
||||
{
|
||||
}
|
||||
|
||||
public ErrorViewModel(string error)
|
||||
{
|
||||
Error = new ErrorMessage { Error = error };
|
||||
}
|
||||
|
||||
public ErrorMessage Error { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue