0
0
MyDarling/Models/LoginModel.cs
2023-06-03 07:41:46 +03:00

13 lines
270 B
C#

using System.ComponentModel.DataAnnotations;
namespace MyDarling.Models;
public class LoginModel
{
[Required]
public string? Name { get; set; }
[Required]
public string? Password { get; set; }
public string ReturnUrl { get; set; } = "/Products";
}