source: Git/src/main/java/com/wediscussmovies/project/service/PersonService.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: 366 bytes
RevLine 
[6e7b472]1package com.wediscussmovies.project.service;
2
[7a0bf79]3import com.wediscussmovies.project.model.Person;
4
5import java.util.List;
6import java.util.Optional;
7
[6e7b472]8public interface PersonService {
[7a0bf79]9 public List<Person> findAllDirectors();
10 public List<Person> findAllActors();
11 Optional<Person> findActorById(Integer id);
12 Optional<Person> findDirectorById(Integer id);
[6e7b472]13}
Note: See TracBrowser for help on using the repository browser.