コード例 #1
0
        public async Task <IEnumerable <SuperheroViewModel> > GetAllAsync(int skip = 0, int take = 20)
        {
            var list = await _superheroRepository.GetAllAsync(skip, take);

            return(_mapper.Map <IEnumerable <SuperheroViewModel> >(list));
        }