Ignore:
Timestamp:
02/02/23 22:46:30 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
ac25203
Parents:
f60cb20
Message:

service impl changes

File:
1 edited

Legend:

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

    rf60cb20 r1b248e4  
    22
    33import com.example.moviezone.model.Projection_Room;
     4import com.example.moviezone.repository.Projection_RoomRepository;
    45import com.example.moviezone.service.Projection_RoomService;
    56import org.springframework.stereotype.Service;
     
    910@Service
    1011public class Projection_RoomServiceImpl implements Projection_RoomService {
     12    private final Projection_RoomRepository projectionRoomRepository;
     13
     14    public Projection_RoomServiceImpl(Projection_RoomRepository projectionRoomRepository) {
     15        this.projectionRoomRepository = projectionRoomRepository;
     16    }
     17
    1118    @Override
    1219    public List<Projection_Room> findAllProjectionRooms() {
    13         return null;
     20        return projectionRoomRepository.findAll();
    1421    }
    1522}
Note: See TracChangeset for help on using the changeset viewer.