public ActionResult GenderChart(int id, long filterCode) { var genderDataProvider = new GenderChartDataProvider(this.metricsService, this.searchService); var genderPieChartData = genderDataProvider.GetPieChartDataActiveUsers(id, filterCode); return(this.Chart(genderPieChartData)); }
private PieChartData GetGenderInfo(int projectId, IList <ActiveUserInfo> usersList) { var dataProvider = new GenderChartDataProvider(this.metricsService, this.searchService); return(dataProvider.GetPieChartDataActiveUsers(projectId, usersList)); }