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,23 @@
using General_Ledger_Service.Models;
namespace General_Ledger_Service.Interfaces.Repositories
{
public interface IBankRepository
{
Task<BankAccount?> GetByIdAsync(long bankAccountId);
Task<BankAccount> AddAsync(BankAccount bankAccount);
Task<List<BankAccount>> GetAllAsync();
Task<BankStatementLine?> GetStatementLineByIdAsync(long stmtLineId);
Task AddStatementLinesAsync(IEnumerable<BankStatementLine> lines);
Task<CashAccount> AddCashAccountAsync(CashAccount cashAccount);
Task<List<CashAccount>> GetAllCashAccountsAsync();
Task<CashAccount?> GetCashAccountByIdAsync(long cashAccountId);
Task<bool> AnyDefaultCashAccountAsync();
void RemoveCashAccount(CashAccount cashAccount);
Task<bool> CashAccountNumberExistsAsync(string accountNumber);
Task<CashAccountType?> GetCashAccountTypeByNameAsync(string name);
Task<CashAccountType> AddCashAccountTypeAsync(CashAccountType cashAccountType);
Task<List<CashAccountType>> GetAllCashAccountTypesAsync();
}
}