public void AddToDbLog(int clientId, string message) { SqlQueries.AddTransaction(clientId, message); }
public bool HasDeposit(int clientId) { double result = SqlQueries.GetDepositAmount(clientId); return(result != 0); }
public bool HasLoan(int clientId) { double result = SqlQueries.GetLoanAmount(clientId); return(result != 0); }
private string GetClientNameById(int Id) { return(SqlQueries.GetClientNameById(Id)); }