Esempio n. 1
0
 /// <summary>
 /// Gets one active Account by AccountID. Accounts are cached for 30 minutes.
 /// </summary>
 public static IAccount GetAccount(this ICache c, int accountId) => c.Accounts().FirstOrDefault(x => x.AccountID == accountId);