示例#1
0
        public async Task <IEnumerable <PageServiceObject> > GetAllPagesByModuleIdAsync(int moduleId, CancellationToken token)
        {
            var serviceResult = await _moduleRepository.GetAllPagesByModuleIdAsync(moduleId, token);

            return(_mapper.Map <IEnumerable <PageServiceObject> >(serviceResult));
        }