using LittleShop.DTOs;

namespace LittleShop.Services;

public interface ICategoryService
{
    Task<IEnumerable<CategoryDto>> GetAllCategoriesAsync();
    Task<CategoryDto?> GetCategoryByIdAsync(Guid id);
    Task<CategoryDto> CreateCategoryAsync(CreateCategoryDto createCategoryDto);
    Task<bool> UpdateCategoryAsync(Guid id, UpdateCategoryDto updateCategoryDto);
    Task<bool> DeleteCategoryAsync(Guid id);
}