This commit is contained in:
2024-05-28 15:21:49 +02:00
parent f8d4fda4f6
commit 69b3406c4b
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ namespace OwnChar.Manager
public UserAccount? CurrentUser { get; private set; }
// Data Provider
public IDataProxy? DataProxy { get; set; }
public IDataManager? DataProxy { get; set; }
// Manager
public UserManager Users { get; }
@@ -36,7 +36,7 @@ namespace OwnChar.Manager
/// Tries to login on the given data provider.
/// </summary>
/// <returns>Returns <see cref="true"/> if the login was successfull and <see cref="false"/> if not.</returns>
public bool Login(IDataProxy? proxy, string? username, SecureString? password)
public bool Login(IDataManager? proxy, string? username, SecureString? password)
{
ArgumentNullException.ThrowIfNull(proxy, nameof(proxy));
ArgumentException.ThrowIfNullOrWhiteSpace(username, nameof(username));