AutoMapper generic mapping
According to the AutoMapper wiki:
public class Source<T> {
public T Value { get; set; }
}
public class Destination<T> {
public T Value { get; set; }
}
// Create the mapping
Mapper.CreateMap(typeof(Source<>), typeof(Destination<>));
In your case this would be
Mapper.CreateMap(typeof(PagedList<,>), typeof(PagedListViewModel<>));