public List <Guid> GetBankAccountsFromCache() { BusinessAccountCache oBA = (BusinessAccountCache)GlobalCachingProvider.Instance.GetItem(ImperaturGlobal.BusinessAccountCache); return(oBA.GetCache().Where(b => b.Item2.Equals(AccountType.Bank.ToString())).Select(b => new Guid(b.Item1)).ToList()); }
private List <Guid> GetBusinessAccountsFromCache() { BusinessAccountCache oBA = (BusinessAccountCache)GlobalCachingProvider.Instance.GetItem(ImperaturGlobal.BusinessAccountCache); return(oBA.GetCache().Select(b => new Guid(b.Item1)).ToList()); }