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