Ignore:
Timestamp:
01/16/22 03:40:31 (3 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
2a5d6a3
Parents:
839f96a
Message:

Early implementations, MovieController CRUD implementation included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/service/GenreService.java

    r839f96a r7a0bf79  
    11package com.wediscussmovies.project.service;
    22
     3import com.wediscussmovies.project.model.Genre;
     4
     5import java.util.List;
     6import java.util.Optional;
     7
    38public interface GenreService {
     9    public List<Genre> findAll();
     10    public Optional<Genre> findById(Integer id);
     11    public List<Genre> findAllByType(String genre);
     12    public Genre save(String genreName);
    413}
Note: See TracChangeset for help on using the changeset viewer.