Beispiel #1
0
        public IHttpActionResult GetAvgGradeByStudent(string id)
        {
            var avg = service.AverageGradeByStudentId(id);

            logger.Info("Got average grade of student id {0}", id);
            return(Ok(avg));
        }