Add endpoint to access and modify user information.

This commit is contained in:
2025-11-16 23:08:32 +00:00
parent 5f66029528
commit 5fe5c94c55
26 changed files with 2302 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Marechai.Data.Models;
public sealed record UserRoleRequest
{
[Required]
[JsonPropertyName("roleName")]
public string RoleName { get; set; } = null!;
}