private async Task <double> GetLastBalance()
        {
            var lastTransaction = await _transactionQueries.GetOrderByDate().FirstOrDefaultAsync();

            return(lastTransaction != null ? lastTransaction.Balance : 0);
        }
 private async Task <Transaction> GetLastTransaction()
 {
     return(await _transactionQueries.GetOrderByDate().FirstOrDefaultAsync());
 }