Пример #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());
 }