/// <summary> /// Initializes a new instance of the <see cref="YearController"/> class. /// </summary> /// <param name="recentRepository">The recent repository.</param> /// <param name="tagService">The tag service.</param> /// <param name="tagRepository">The tag repository.</param> /// <param name="persistentCollectionService">The persistent collection service.</param> public YearController(IRecentRepository recentRepository, ITagService tagService, ITagRepository tagRepository, IPersistentCollectionService persistentCollectionService) { _recentRepository = recentRepository; _persistentCollectionService = persistentCollectionService; _tagRepository = tagRepository; _tagService = tagService; }
public PopulateSidebarView(IRecentRepository recentRepository, ITagRepository tagRepository, IAlbumRepository albumRepository, IFriendRepository friendRepository) { _recentRepository = recentRepository; _friendRepository = friendRepository; _albumRepository = albumRepository; _tagRepository = tagRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DashboardController"/> class. /// </summary> /// <param name="recentActivity">The recent activity.</param> /// <param name="statisticService">The statistic service.</param> /// <param name="userRepository">The user repository.</param> /// <param name="commentRepository">The comment repository.</param> /// <param name="reportingRepository">The reporting repository.</param> public DashboardController(IRecentRepository recentActivity, IDashboardStatisticService statisticService, IUserRepository userRepository, ICommentRepository commentRepository, IReportingRepository reportingRepository) { _recentActivity = recentActivity; _reportingRepository = reportingRepository; _commentRepository = commentRepository; _userRepository = userRepository; _statisticService = statisticService; }
/// <summary> /// Initializes a new instance of the <see cref="RecentController"/> class. /// </summary> /// <param name="recentRepository">The recent repository.</param> /// <param name="persistentCollectionService">The persistent collection service.</param> public RecentController(IRecentRepository recentRepository, IPersistentCollectionService persistentCollectionService) { _recentRepository = recentRepository; _persistentCollectionService = persistentCollectionService; }