Distribution_GL Initialization

This commit is contained in:
2026-10-20 13:07:07 +05:30
commit 3f16e0cb44
194 changed files with 35659 additions and 0 deletions
@@ -0,0 +1,15 @@
using General_Ledger_Service.DTOs.CostCenters;
using General_Ledger_Service.Models;
namespace General_Ledger_Service.Interfaces.Repositories
{
public interface ICostCenterRepository
{
Task<CostCenter?> GetByIdAsync(long costCenterId);
Task<CostCenter?> GetByCodeAsync(string code);
Task<int> GetAncestorDepthAsync(long parentCostCenterId);
Task<string?> GetAncestorBreadcrumbAsync(long costCenterId);
Task<List<CostCenterTreeNode>> GetDescendantTreeAsync(long costCenterId);
Task<CostCenter> AddAsync(CostCenter costCenter);
}
}