Ignore:
Timestamp:
02/09/23 14:06:45 (21 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
6a9006d, a9ffccd
Parents:
0ba5d1a
Message:

Reservation Implemented

File:
1 edited

Legend:

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

    r0ba5d1a r00fa72f  
    11package com.example.moviezone.service;
    22
     3import com.example.moviezone.model.Category;
    34import com.example.moviezone.model.Projection_Room;
    45import com.example.moviezone.model.Seat;
    56
    67import java.util.List;
     8import java.util.Optional;
    79
    810public interface SeatService {
    911    List<Seat> findAllSeats();
    1012    List<Seat> findAllByProjection_Room(Projection_Room projection_room);
     13    List<Seat> findAllByRoomAndCategory(Projection_Room projectionRoom, Category category);
     14    Optional<Seat> getSeatById(int id);
    1115}
Note: See TracChangeset for help on using the changeset viewer.