public async Task <PieChartModel <int> > Get(AssessmentFilterModel model) { model.PerformanceKeys = await GetPerformanceKeys(model); var chart = await _assessmentPerformanceService.Get(model); chart.Title = "Taking " + model.AssessmentTitle + " Exam"; chart.HideTotal = true; return(chart); }
public async Task <IHttpActionResult> Get(AssessmentFilterModel model) { var chart = await _assessmentPerformanceService.Get(model); return(Ok(chart)); }