Different message for admin deletion, check not to delete last admin

Ref: #549, #550
This commit is contained in:
rockstardev
2019-02-10 12:25:51 -06:00
committed by Rockstar Developer
parent f53548d10f
commit b03d89c190
3 changed files with 34 additions and 5 deletions

View File

@@ -7,6 +7,15 @@ namespace BTCPayServer.Models
{
public class ConfirmModel
{
public ConfirmModel() { }
public ConfirmModel(string title, string desc, string action = null)
{
Title = title;
Description = desc;
Action = action;
}
public string Title
{
get; set;