Changeset 3ded84d in Git for src/main/java/com/wediscussmovies/project/service/impl/MovieServiceImpl.java
- Timestamp:
- 01/18/22 17:18:17 (3 years ago)
- Branches:
- main
- Children:
- e0ef1b1
- Parents:
- 7fafead
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/impl/MovieServiceImpl.java
r7fafead r3ded84d 1 1 package com.wediscussmovies.project.service.impl; 2 2 3 import com.wediscussmovies.project.model. Movie;3 import com.wediscussmovies.project.model.*; 4 4 import com.wediscussmovies.project.repository.MovieRepository; 5 5 import com.wediscussmovies.project.service.MovieService; … … 23 23 24 24 @Override 25 public Optional<Movie> findById( Longid) {25 public Optional<Movie> findById(Integer id) { 26 26 return movieRepository.findById(1); 27 27 } … … 33 33 34 34 @Override 35 public void deleteById( Longid) {36 movieRepository.deleteById( 0);35 public void deleteById(Integer id) { 36 movieRepository.deleteById(id); 37 37 } 38 38
Note:
See TracChangeset
for help on using the changeset viewer.