Esempio n. 1
0
        public FriendViewModel(Friendship friend)
        {
            Expenses = new ObservableCollection<Expense>();

            this.Friendship = friend;
            LoadExpenses(friend);
        }
Esempio n. 2
0
 private async void LoadExpenses(Friendship friend)
 {
     IEnumerable<Expense> expenses = await proxy.GetExpenses(friend.Id);
     Expenses.AddRange(expenses);
 }