using General_Ledger_Service.Models; namespace General_Ledger_Service.Interfaces.Repositories { public interface IBankRepository { Task GetByIdAsync(long bankAccountId); Task AddAsync(BankAccount bankAccount); Task> GetAllAsync(); Task GetStatementLineByIdAsync(long stmtLineId); Task AddStatementLinesAsync(IEnumerable lines); Task AddCashAccountAsync(CashAccount cashAccount); Task> GetAllCashAccountsAsync(); Task GetCashAccountByIdAsync(long cashAccountId); Task AnyDefaultCashAccountAsync(); void RemoveCashAccount(CashAccount cashAccount); Task CashAccountNumberExistsAsync(string accountNumber); Task GetCashAccountTypeByNameAsync(string name); Task AddCashAccountTypeAsync(CashAccountType cashAccountType); Task> GetAllCashAccountTypesAsync(); } }