2023-03-06 07:41:35 +03:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace MyDarling.Models;
|
|
|
|
public class LoginModel
|
|
|
|
{
|
|
|
|
[Required]
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
public string? Password { get; set; }
|
|
|
|
|
2023-06-03 07:41:46 +03:00
|
|
|
public string ReturnUrl { get; set; } = "/Products";
|
2023-03-06 07:41:35 +03:00
|
|
|
}
|