예제 #1
0
        public async Task <List <PageViewModel> > GetPagesAsync()
        {
            var pages = await _pageStore.GetPagesAsync();

            var result = pages.Select(_mapper.Map <PageViewModel>).ToList();

            return(result);
        }