Esempio n. 1
0
 public static Task <IEnumerable <Expense> > GetAllAsync(string account) =>
 AzureTableStorage.GetAllAsync(nameof(Expense))
 .SelectAsync(ToExpense)
 .WhereAsync(expense => expense.Account == account);
Esempio n. 2
0
 public static Task <IEnumerable <Expense> > GetAllAsync(string account, string email) =>
 AzureTableStorage.GetAllAsync(nameof(Expense), email + "+" + account)
 .SelectAsync(ToExpense);