namespace NetinaShop.AdminPanel.PWA.Services.RestServices;

public interface IRestWrapper
{
    public ICrudApiRest<T, TKey> CrudApiRest<T, TKey>(string address) where T : class;
    public ICrudDtoApiRest<T, TDto, TKey> CrudDtoApiRest<T, TDto, TKey>(string address) where T : class where TDto : class;


    public IAuthRestApi AuthRestApi { get; }
    public IUserRestApi UserRestApi { get; }
    public IProductCategoryRestApi ProductCategoryRestApi { get; }
    public IProductRestApi ProductRestApi { get; }
    public IBrandRestApi BrandRestApi { get; }
    public IFileRestApi FileRestApi { get; }
    public IBlogRestApi BlogRestApi { get; }
    public IDiscountRestApi DiscountRest { get; }
    public IBlogCategoryRestApi BlogCategoryRestApi { get; }
    public IRoleRestApi RoleRestApi { get; }
    public IOrderRestApi OrderRestApi { get; }
    public IPaymentRestApi PaymentRestApi { get; }
    public IPageRestApi PageRestApi { get; }
    public IScraperRestApi ScraperRestApi { get; }
}