Ignore:
Timestamp:
02/02/23 22:25:55 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
1b248e4
Parents:
11dea8f
Message:

changes in repository classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/service/Impl/CinemaServiceImpl.java

    r11dea8f rf60cb20  
    22
    33import com.example.moviezone.model.Cinema;
     4import com.example.moviezone.repository.CinemaRepository;
    45import com.example.moviezone.service.CinemaService;
    56import org.springframework.stereotype.Service;
     
    910@Service
    1011public class CinemaServiceImpl implements CinemaService {
     12    private final CinemaRepository cinemaRepository;
     13
     14    public CinemaServiceImpl(CinemaRepository cinemaRepository) {
     15        this.cinemaRepository = cinemaRepository;
     16    }
     17
    1118    @Override
    1219    public List<Cinema> findAllCinemas() {
Note: See TracChangeset for help on using the changeset viewer.