public static void show(Long id) {
    Bowl bowl = Bowl.findById(id);

    List<Participant> bowlParticipants = Participant.calculateShares(bowl);
    List<Bill> bills = Bill.generateByBowl(bowl);

    render(bowl, bowlParticipants, bills);
  }
  public static void users(Long id, String query) {
    Bowl bowl = Bowl.findById(id);
    List<User> users = null;
    if (query != null && !query.isEmpty()) {
      users = User.findByNickNameExcludeBowls(query, bowl, new Pagination(1, 10));
    }

    render(bowl, users, query);
  }
  public static void expenses(Long id) {
    Bowl bowl = Bowl.fetchUsersById(id);
    List<User> users = bowl.users;

    render(bowl, users);
  }
  public static void delete(Long id) {
    Bowl bowl = Bowl.findById(id);
    bowl.delete();

    render(bowl);
  }
  public static void list() {
    List<Bowl> bowls = Bowl.findByUser(currentUser);

    render(bowls);
  }
  public static void edit(Long id) {
    Bowl bowl = Bowl.findById(id);

    render(bowl);
  }