piwigodotnet/PiwigoDotnet/Piwigo.Client/ICategoryApi.cs

11 lines
357 B
C#

using Piwigo.Client.Contract;
namespace Piwigo.Client;
public interface ICategoryApi
{
Task<int> AddAsync(string name, int? parentId = null, string? comment = null, bool? visible = null, CategoryStatus? status = null, bool? commentable = null,
CategoryPosition? position = null);
Task<IReadOnlyCollection<PiwigoCategory>> GetAllAsync();
}