using DbFirst.Contracts.Layouts;

namespace DbFirst.BlazorWebApp.Services
{
    public interface ILayoutApiClient
    {
        Task<LayoutDto?> GetAsync(string layoutType, string layoutKey, string userName, CancellationToken ct = default);
        Task<LayoutDto> UpsertAsync(LayoutDto dto, CancellationToken ct = default);
        Task DeleteAsync(string layoutType, string layoutKey, string userName, CancellationToken ct = default);
    }
}
