예제 #1
0
        public IHttpActionResult PutGrade(int id, Grade grade)
        {
            if (gradesService.ExistsID(id) == false)
            {
                return(NotFound());
            }

            return(Ok(gradesService.PutGrade(id, grade)));
        }