namespace TaxBaik.Domain.Interfaces; using TaxBaik.Domain.Entities; public interface IClientRepository { Task<(IEnumerable Items, int Total)> GetPagedAsync( int page, int pageSize, string? status = null, string? search = null, CancellationToken ct = default); Task GetByIdAsync(int id, CancellationToken ct = default); Task GetByEmailAsync(string email, CancellationToken ct = default); Task GetByPhoneAsync(string phone, CancellationToken ct = default); Task CountByCreatedAtRangeAsync(DateTime startDateUtc, DateTime endDateUtc, CancellationToken ct = default); Task CreateAsync(Client client, CancellationToken ct = default); Task UpdateAsync(Client client, CancellationToken ct = default); Task DeleteAsync(int id, CancellationToken ct = default); }