source: src/main/java/com/example/moviezone/service/TicketService.java@ 4158cac

Last change on this file since 4158cac was 1e7126f, checked in by DenicaKj <dkorvezir@…>, 15 months ago

fix

  • Property mode set to 100644
File size: 571 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.*;
4
5import java.time.LocalDate;
6import java.util.List;
7
8public interface TicketService {
9 List<Ticket> findAllTickets();
10 List<Ticket> findAllByCustomer(Customer customer);
11 Ticket saveWithDiscount(LocalDate date, Customer customer, Projection projection, Discount discount, Seat seat);
12 Ticket saveWithout(LocalDate date,Customer customer,Projection projection,Seat seat);
13 Ticket save(long price,Customer customer);
14 Integer priceForTicket(int id);
15 void delete(int id);
16}
Note: See TracBrowser for help on using the repository browser.