Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RatingBlockController()
 {
     this.userRepository     = ServiceLocator.Current.GetInstance <IUserRepository>();
     this.ratingRepository   = ServiceLocator.Current.GetInstance <IPageRatingRepository>();
     this.pageRepository     = ServiceLocator.Current.GetInstance <IPageRepository>();
     this.activityRepository = ServiceLocator.Current.GetInstance <ICommunityActivityRepository>();
 }
 public FindSearchPageController(IClient searchClient, IFindUIConfiguration findUIConfiguration, IRequiredClientResourceList requiredClientResourceList, IPageRatingRepository pageRatingRepository, IUserRepository userRepository)
 {
     this.searchClient               = searchClient;
     this.findUIConfiguration        = findUIConfiguration;
     this.requiredClientResourceList = requiredClientResourceList;
     this.pageRatingRepository       = pageRatingRepository;
     this.pageRatingRepository       = pageRatingRepository;
     this.userRepository             = userRepository;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public RatingBlockController(
     IUserRepository userRepository,
     IPageRatingRepository ratingRepository,
     IPageRepository pageRepository,
     ICommunityActivityRepository activityRepository,
     ICommunityRepository communityRepository,
     ICommunityMemberRepository memberRepository)
 {
     _userRepository      = userRepository;
     _ratingRepository    = ratingRepository;
     _pageRepository      = pageRepository;
     _activityRepository  = activityRepository;
     _communityRepository = communityRepository;
     _memberRepository    = memberRepository;
 }