Changeset 0fb69cc for src/main/java/com/example/moviezone/service
- Timestamp:
- 02/06/23 20:10:28 (22 months ago)
- Branches:
- master
- Children:
- d09caa7
- Parents:
- b5ce654
- Location:
- src/main/java/com/example/moviezone/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/EventService.java
rb5ce654 r0fb69cc 8 8 public interface EventService { 9 9 List<Event> findAllEvents(); 10 Event save(LocalDate start_date,String theme,String duration,String repeating );10 Event save(LocalDate start_date,String theme,String duration,String repeating,String url); 11 11 } -
src/main/java/com/example/moviezone/service/Impl/EventServiceImpl.java
rb5ce654 r0fb69cc 23 23 24 24 @Override 25 public Event save(LocalDate start_date, String theme, String duration, String repeating ) {26 return eventRepository.save(new Event(theme,duration,repeating,start_date ));25 public Event save(LocalDate start_date, String theme, String duration, String repeating,String img_url) { 26 return eventRepository.save(new Event(theme,duration,repeating,start_date,img_url)); 27 27 } 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.