using ERPCore.Domain.Enums;
using ERPCore.Dtos.Common;
using ERPCore.Dtos.Reference;

namespace ERPCore.Services.Interfaces;

/// <summary>Reason-code reference data (docs/11 §6; FR-X-04).</summary>
public interface IReasonCodeService
{
    Task<PagedResponse<ReasonCodeDto>> ListAsync(ReasonContext? context, PageQuery query, CancellationToken ct = default);
    Task<ReasonCodeDto> CreateAsync(CreateReasonCodeRequest request, CancellationToken ct = default);
}
