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

@ -7,10 +7,16 @@ public class AuthRepositoryException : System.Exception
public AuthRepositoryException(string message, System.Exception inner) : base(message, inner) { }
}
[System.Serializable]
public class AuthNotFoundException : AuthRepositoryException
{
public AuthNotFoundException() { }
public AuthNotFoundException(string message) : base(message) { }
public AuthNotFoundException(string message, System.Exception inner) : base(message, inner) { }
}
public class AuthAlreadyExistsException : AuthRepositoryException
{
public AuthAlreadyExistsException() { }
public AuthAlreadyExistsException(string message) : base(message) { }
public AuthAlreadyExistsException(string message, System.Exception inner) : base(message, inner) { }
}

View file

@ -0,0 +1,16 @@
namespace JellyGlass.Exceptions;
public class ClientServiceException : System.Exception
{
public ClientServiceException() { }
public ClientServiceException(string message) : base(message) { }
public ClientServiceException(string message, System.Exception inner) : base(message, inner) { }
}
[System.Serializable]
public class ClientNotFoundException : ClientServiceException
{
public ClientNotFoundException() { }
public ClientNotFoundException(string message) : base(message) { }
public ClientNotFoundException(string message, System.Exception inner) : base(message, inner) { }
}

View file

@ -0,0 +1,15 @@
namespace JellyGlass.Exceptions;
public class ServerRepositoryException : Exception
{
public ServerRepositoryException() { }
public ServerRepositoryException(string message) : base(message) { }
public ServerRepositoryException(string message, Exception inner) : base(message, inner) { }
}
public class ServerNotFoundException : ServerRepositoryException
{
public ServerNotFoundException() { }
public ServerNotFoundException(string message) : base(message) { }
public ServerNotFoundException(string message, Exception inner) : base(message, inner) { }
}