public static void delete(java.lang.Long id) {
   Time entity = Time.findById(id);
   entity.delete();
   index();
 }
 public static void edit(java.lang.Long id) {
   Time entity = Time.findById(id);
   render(entity);
 }