SQLLite vol 1.
This commit is contained in:
@@ -16,6 +16,8 @@ namespace WorkFlowCheck.MAUI.Services
|
||||
public class UserService : IUserService
|
||||
{
|
||||
private readonly HttpClient _httpClient;
|
||||
|
||||
public UserDTO? CurrentUser { get; private set; }
|
||||
public UserService(HttpClient httpClient, IConfiguration configuration)
|
||||
{
|
||||
_httpClient = httpClient;
|
||||
@@ -91,5 +93,9 @@ namespace WorkFlowCheck.MAUI.Services
|
||||
};
|
||||
}
|
||||
}
|
||||
public void SetUser(UserDTO user)
|
||||
{
|
||||
CurrentUser = user;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user