Recreated solution with web app template. Improved theme. Switched to ShadcnBlazor library

This commit is contained in:
2025-12-25 19:16:53 +01:00
parent 0cc35300f1
commit a2d4edc0e5
272 changed files with 2441 additions and 14449 deletions

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Users;
public class CreateUserRequest
{
[Required]
[MinLength(3)]
[MaxLength(32)]
public string Username { get; set; }
[Required] [EmailAddress] public string Email { get; set; }
}

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Users;
public class UpdateUserRequest
{
[Required]
[MinLength(3)]
[MaxLength(32)]
public string Username { get; set; }
[Required] [EmailAddress] public string Email { get; set; }
}