Ignore:
Timestamp:
01/16/22 20:22:55 (3 years ago)
Author:
Test <matonikolov77@…>
Branches:
main
Children:
3ded84d
Parents:
2d57cad (diff), 7bc8942 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Resolving models

File:
1 edited

Legend:

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

    r2d57cad r7fafead  
    11package com.wediscussmovies.project.service;
    22
     3import com.wediscussmovies.project.model.Genre;
     4import org.springframework.stereotype.Service;
     5
     6import java.util.List;
     7import java.util.Optional;
     8
     9@Service
    310public interface GenreService {
     11    public List<Genre> findAll();
     12    public Optional<Genre> findById(Integer id);
     13    public List<Genre> findAllByType(String genre);
     14    public Genre save(String genreName);
    415}
Note: See TracChangeset for help on using the changeset viewer.