fix injectionses
This commit is contained in:
parent
b93115d787
commit
cd078ca643
11 changed files with 119 additions and 55 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue