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