Exemple #1
0
 /// <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="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;
 }