piwigodotnet/PiwigoDotnet/Piwigo.Client/IPiwigoContext.cs

12 lines
328 B
C#

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