예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="goalCompletionStatisticService"></param>
 /// <param name="projectWorkloadStatisticService"></param>
 /// <param name="daysWorkloadStatisticService"></param>
 /// <param name="totalStatisticService"></param>
 /// <param name="currentUserService"></param>
 public StatisticController(
     IGoalCompletionStatisticService goalCompletionStatisticService,
     IWorkloadForProjectStatisticService projectWorkloadStatisticService,
     IWorkloadByDaysStatisticService daysWorkloadStatisticService,
     ITotalStatisticService totalStatisticService,
     ICurrentUserService currentUserService)
 {
     _goalCompletionStatisticService  = goalCompletionStatisticService;
     _projectWorkloadStatisticService = projectWorkloadStatisticService;
     _daysWorkloadStatisticService    = daysWorkloadStatisticService;
     _totalStatisticService           = totalStatisticService;
     _currentUserService = currentUserService;
 }
예제 #2
0
 public TotalStatisticService(
     DataContext dataContext,
     IGoalsRepository goalsRepository,
     IGoalCompletionStatisticService goalCompletionStatisticService,
     IWorkloadForProjectStatisticService workloadForProjectStatisticService,
     IWorkloadByDaysStatisticService workloadByDaysStatisticService)
 {
     _dataContext     = dataContext;
     _goalsRepository = goalsRepository;
     _goalCompletionStatisticService     = goalCompletionStatisticService;
     _workloadForProjectStatisticService = workloadForProjectStatisticService;
     _workloadByDaysStatisticService     = workloadByDaysStatisticService;
 }