Distribution_GL Initialization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user