예제 #1
0
  public static void picture() {

    List<Salon> salons = Salon.listAll();
    List<Stylist> stylists = Stylist.listAll();
    List<User> users = User.listAll();

    render(salons, stylists, users);
  }
예제 #2
0
  public static void user() {

    List<Salon> salons = Salon.listAll();
    List<Stylist> stylists = Stylist.listAll();
    String userid = session.get("userid");
    User user = User.read(userid);

    render(salons, stylists, user);
  }