using NetinaShop.Domain.Dtos.ResponseDtos; namespace NetinaShop.AdminPanel.PWA.Services.RestServices; public interface IProductRestApi { [Put("/{productId}")] Task ChangeDisplayedAsync(Guid productId, [Query]bool beDisplayed, [Header("Authorization")]string authorization); [Get("/{productId}")] Task ReadOne(Guid productId); [Get("")] Task ReadAll([Query] string productName); [Get("")] Task ReadAll([Query] int page, [Query] string? productName, [Query] Guid? categoryId); [Get("")] Task ReadAll([Query] string productName, [Query] Guid categoryId); }