using ROLAC.API.DTOs.Expense;
namespace ROLAC.API.Services;

public interface IExpenseCategoryService
{
    Task<List<ExpenseCategoryGroupDto>> GetAllAsync(bool includeInactive);
    Task<int> CreateGroupAsync(CreateExpenseGroupRequest r);
    Task UpdateGroupAsync(int id, UpdateExpenseGroupRequest r);
    Task DeactivateGroupAsync(int id);
    Task<int> CreateSubCategoryAsync(CreateExpenseSubCategoryRequest r);
    Task UpdateSubCategoryAsync(int id, UpdateExpenseSubCategoryRequest r);
    Task DeactivateSubCategoryAsync(int id);
}
