source: Git/src/main/java/com/wediscussmovies/project/service/MovieService.java@ 7a0bf79

main
Last change on this file since 7a0bf79 was 7a0bf79, checked in by Petar Partaloski <ppartaloski@…>, 2 years ago

Early implementations, MovieController CRUD implementation included

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