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)); }
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)); }