- Timestamp:
- 02/04/23 21:01:13 (22 months ago)
- Branches:
- master
- Children:
- 693f587
- Parents:
- a554435
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/FilmServiceImpl.java
ra554435 r302b233 6 6 import org.springframework.stereotype.Service; 7 7 8 import java.time.LocalDate; 8 9 import java.util.List; 9 10 … … 20 21 return filmRepository.findAll(); 21 22 } 23 24 @Override 25 public Film save(String name, Integer duration, String actors, String genre, String age_category, String url, String director, LocalDate start_date, LocalDate end_date) { 26 return filmRepository.save(new Film(name,duration,actors,genre,age_category,url,director,start_date,end_date)); 27 } 22 28 }
Note:
See TracChangeset
for help on using the changeset viewer.