public UniversitiesController
 (
     IUniversityRepository universityRepository,
     IReviewRepository reviewRepository,
     IMapsApi mapsApi,
     IPaginationHandler <University, UniversitySortOrder> paginationHandler
 )
 {
     _universityRepository = universityRepository;
     _reviewRepository     = reviewRepository;
     _mapsApi           = mapsApi;
     _paginationHandler = paginationHandler;
 }
 public ReviewsController(IReviewRepository repository, IPaginationHandler <Review, ReviewSortOrder> paginationHandler)
 {
     _repository        = repository;
     _paginationHandler = paginationHandler;
 }
示例#3
0
 public UserService(IUserRepository repository, IPaginationHandler <User> paginationHandler) : base(repository)
 {
     _paginationHandler = paginationHandler;
     _repository        = repository;
 }
 public EntriesViewModelProvider(IPaginationHandler paginationHandler)
 {
     _paginationHandler = paginationHandler;
 }