예제 #1
0
 public static void instructor(long id) {
   Instructor instructor = Instructor.find("byId", id).first();
   render(instructor);
 }
예제 #2
0
 public static void getPicture(long id) {
   Instructor instructor = Instructor.find("byId", id).first();
   renderBinary(instructor.image.get());
 }
예제 #3
0
 public static void getInstructorImage(long id) {
   Instructor instructor = Instructor.find("byId", id).first();
   renderBinary(instructor.largeImage.get());
 }