Beispiel #1
0
        public IPagedList <TDestination> Map <TDestination>(IPagedList <TSource> source)
        {
            var destinations = Mapper.Map <IEnumerable <TDestination> >(source.AsEnumerable());

            return(destinations.ToPagedList(source.AsPagination()));
        }