Login registration

This commit is contained in:
Paul Schneider 2024-11-23 14:23:47 +00:00
commit 277dff7d61
22 changed files with 171 additions and 176 deletions

View file

@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
using Yavsc.Attributes.Validation;
namespace Yavsc.ViewModels.Manage
{
public class SetUserNameViewModel
{
[Required]
[Display(Name = "User name"),RegularExpression(Constants.UserNameRegExp)]
public string UserName { get; set; }
}
}