public List <UserBalance> GetUserBalance(int userId) { var user = _userDataManager.GetUserBalances(userId); var result = new List <UserBalance>(); var balance = user.Balance.GetAllMoney(); foreach (var value in balance) { result.Add(new UserBalance(value.Currency.Name, value.Amount)); } return(result); }