mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-12-04 12:39:54 +00:00
7 lines
202 B
C#
7 lines
202 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace JustShortIt.Model;
|
|
|
|
[BindProperties]
|
|
public record User([Required]string Username, [Required]string Password); |