1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-15 05:39:55 +00:00
just-short-it/Model/User.cs

7 lines
202 B
C#
Raw Normal View History

2023-04-15 13:40:46 +00:00
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
namespace JustShortIt.Model;
[BindProperties]
public record User([Required]string Username, [Required]string Password);