fix injectionses

This commit is contained in:
john 2025-05-21 00:19:49 +02:00
parent b93115d787
commit cd078ca643
11 changed files with 119 additions and 55 deletions

View file

@ -2,7 +2,10 @@ namespace Femto.Common;
public interface ICurrentUserContext
{
CurrentUser? CurrentUser { get; }
CurrentUser? tryGetUserCurrentUser();
bool HasUser { get; }
CurrentUser CurrentUser { get; }
}
public record CurrentUser(Guid Id, string Username, string SessionId);