Exemple #1
0
        public static StatsBodyViewModel GenerateStatsBody(DateRange period)
        {
            StatsBodyViewModel result = new StatsBodyViewModel();

            result.Top5Interviewers = EvaluationStandings.GetAllStandings(period).Take(5).ToList();

            foreach (var interviewer in result.Top5Interviewers)
            {
                interviewer.SeniorityChart = GetSeniorityChartData(period, interviewer.InterviewerId);
                interviewer.LengthChart    = GetLengthChartData(period, interviewer.InterviewerId);
                interviewer.StageChart     = GetStageChartData(period, interviewer.InterviewerId);
            }

            return(result);
        }
Exemple #2
0
 public static List <StandingsInterviewersViewModel> GetAllStandings()
 {
     return(EvaluationStandings.GetAllStandings(new DateRange()));
 }