public async Task <IList <Contents> > GetListAsync() { var pagelist = cache.Get("pagelist"); if (pagelist == null) { pagelist = await cms.GetPageListAsync(); cache.Set("pagelist", pagelist); } return(pagelist as IList <Contents>); }