Added interface IClient fo client, added IClientBase for IClient, removed warnings

This commit is contained in:
2024-10-04 15:40:30 +03:00
parent 188a5a14d3
commit 6c4a40c784
9 changed files with 345 additions and 36 deletions

View File

@@ -5,7 +5,7 @@ using VisaApiClient;
namespace BlazorWebAssemblyVisaApiClient.Infrastructure.Services.UserDataProvider;
public class UserDataProvider(Client client) : IUserDataProvider
public class UserDataProvider(IClient client) : IUserDataProvider
{
private readonly static JwtSecurityTokenHandler tokenHandler = new();
@@ -49,4 +49,4 @@ public class UserDataProvider(Client client) : IUserDataProvider
OnRoleChanged?.Invoke();
}
}
}
}