/// <summary>
        /// Get deposits for the given currency
        /// </summary>
        /// <param name="currency"></param>
        /// <param name="accountId"> </param>
        /// <returns></returns>
        public List <DepositRepresentation> GetRecentDeposits(string currency, int accountId)
        {
            List <DepositRepresentation> depositRepresentations = new List <DepositRepresentation>();
            List <Deposit> deposits = _depositRepository.GetDepositByCurrencyAndAccountId(currency, new AccountId(accountId));

            if (deposits != null && deposits.Any())
            {
                foreach (var deposit in deposits)
                {
                    depositRepresentations.Add(new DepositRepresentation(deposit.Currency.Name, "", deposit.DepositId,
                                                                         deposit.Date, deposit.Amount, deposit.Status.ToString(), (deposit.BitcoinAddress == null) ? null :
                                                                         deposit.BitcoinAddress.Value, (deposit.TransactionId == null) ? null : deposit.TransactionId.Value));
                }
            }
            else
            {
                Log.Debug(string.Format("No recent deposits found: Currency = {0}, AccountID = {1}", currency, accountId));
            }
            return(depositRepresentations);
        }