using Microsoft.Extensions.Logging; namespace Piwigo.Client; public interface IPiwigoContext { bool IsLoggedIn { get; } Task LoginAsync(); Task LogoutAsync(); Task PostAsync(ILogger logger, string method, IDictionary formParams); Task PostAsync(ILogger logger, string method); }