Changeset 2a5d6a3 in Git for src/main/java/com/wediscussmovies/project/service/DiscussionService.java
- Timestamp:
- 01/16/22 15:29:49 (3 years ago)
- Branches:
- main
- Children:
- 7bc8942
- Parents:
- 7a0bf79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/DiscussionService.java
r7a0bf79 r2a5d6a3 1 1 package com.wediscussmovies.project.service; 2 2 3 import com.wediscussmovies.project.model.Discussion; 4 5 import java.util.List; 6 import java.util.Optional; 7 3 8 public interface DiscussionService { 9 List<Discussion> listAll(); 10 List<Discussion> listAllByTitle(String title); 11 Optional<Discussion> findById(Integer id); 12 void save(Discussion discussion); 4 13 }
Note:
See TracChangeset
for help on using the changeset viewer.