示例#1
0
 public Task <IEnumerable <PortfolioClient> > GetPortfolios()
 {
     return(_cacheService.GetOrCreateAsync <IEnumerable <PortfolioClient> >("PortfolioAll", () => _portfolioManager.GetAllPortfoliosAsync()));
 }