Exemplo n.º 1
0
 public IHttpActionResult GetTeacherByID(string id)
 {
     if (teachersService.ExistsID(id) == false)
     {
         return(NotFound());
     }
     return(Ok(teachersService.GetByID(id)));
 }