using General_Ledger_Service.DTOs.CostCenters; using General_Ledger_Service.Models; namespace General_Ledger_Service.Interfaces.Repositories { public interface ICostCenterRepository { Task GetByIdAsync(long costCenterId); Task GetByCodeAsync(string code); Task GetAncestorDepthAsync(long parentCostCenterId); Task GetAncestorBreadcrumbAsync(long costCenterId); Task> GetDescendantTreeAsync(long costCenterId); Task AddAsync(CostCenter costCenter); } }