feat(admin): added backend for admin pages

This commit is contained in:
Fishandchips321 2026-03-05 17:19:24 +00:00
parent 54cfc05b88
commit 56ea7fb7f0
26 changed files with 662 additions and 42 deletions

View file

@ -0,0 +1,13 @@
namespace JellyGlass.Models;
public class UserLoginDTO
{
public UserLoginDTO(UserLogin login)
{
Username = login.Username;
IsAdmin = login.IsAdmin;
}
public string Username { get; set; }
public bool IsAdmin { get; set; }
}