Samples Reappend
This commit is contained in:
9
Samples/TripleAdd/Models/ErrorViewModel.cs
Normal file
9
Samples/TripleAdd/Models/ErrorViewModel.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace TripleAdd.Models
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string? RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
||||
}
|
||||
15
Samples/TripleAdd/Models/TripleAddViewModel.cs
Normal file
15
Samples/TripleAdd/Models/TripleAddViewModel.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace TripleAdd.Models
|
||||
{
|
||||
public class TripleAddViewModel
|
||||
{
|
||||
public ushort Add1 { get; set; }
|
||||
public ushort Add2 { get; set; }
|
||||
public ushort Add3 { get; set; }
|
||||
public ushort Ans { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user