public static PageListResult <U> GetPage <T, U>(this BaseRepositoryEF <T, string> repository, int page, int pageSize, string predicate, string order) where T : class { return(repository.GetPage <T, string, U>(page, pageSize, predicate, order)); }
public static PageListResult <U> GetPage <T, U>(this BaseRepositoryEF <T, int> repository, int page, int pageSize, Expression <Func <T, bool> > predicate, string order) where T : class { return(repository.GetPage <T, int, U>(page, pageSize, predicate, order)); }