public async Task <List <TransactionModel> > GetTransactionsForWallet(string userId, string walletId)
        {
            try
            {
                UserModel user = await _userRepository.Get(userId);

                if (!user.Wallets.Exists(wallet => wallet._id == walletId))
                {
                    throw new KeyNotFoundException();
                }
                return(await _transactionRepository.GetByWallet(walletId));
            } catch (Exception e)
            {
                throw new Exception();
            }
        }