source: Git/src/main/java/com/wediscussmovies/project/service/MovieService.java@ 3ded84d

main
Last change on this file since 3ded84d was 3ded84d, checked in by Test <matonikolov77@…>, 2 years ago

Model-database resolved bugs for mapping

  • Property mode set to 100644
File size: 387 bytes
Line 
1package com.wediscussmovies.project.service;
2
3import com.wediscussmovies.project.model.*;
4
5import java.util.List;
6import java.util.Optional;
7
8public interface MovieService {
9 public List<Movie> listAll();
10 public List<Movie> searchByTitle(String title);
11 public Optional<Movie> findById(Integer id);
12 public Movie save(Movie movie);
13 public void deleteById(Integer id);
14}
Note: See TracBrowser for help on using the repository browser.