예제 #1
0
        public IActionResult GetInstructorsByDrivingSchoolId(int id)
        {
            var instructorsToGet = _instructorRepository.GetInstructorsByDrivingSchoolId(id);

            if (instructorsToGet == null)
            {
                return(NotFound());
            }

            return(Ok(instructorsToGet));
        }