Ignore:
Timestamp:
01/18/22 17:18:17 (3 years ago)
Author:
Test <matonikolov77@…>
Branches:
main
Children:
e0ef1b1
Parents:
7fafead
Message:

Model-database resolved bugs for mapping

File:
1 edited

Legend:

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

    r7fafead r3ded84d  
    11package com.wediscussmovies.project.service;
    22
    3 import com.wediscussmovies.project.model.Movie;
     3import com.wediscussmovies.project.model.*;
    44
    55import java.util.List;
     
    99    public List<Movie> listAll();
    1010    public List<Movie> searchByTitle(String title);
    11     public Optional<Movie> findById(Long id);
     11    public Optional<Movie> findById(Integer id);
    1212    public Movie save(Movie movie);
    13     public void deleteById(Long id);
     13    public void deleteById(Integer id);
    1414}
Note: See TracChangeset for help on using the changeset viewer.