22 lines
415 B
C#
22 lines
415 B
C#
|
using ProjectAirline.Entities;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectAirline.Repositories;
|
|||
|
|
|||
|
public interface ITicketRepository
|
|||
|
{
|
|||
|
IEnumerable<Ticket> ReadTickets();
|
|||
|
|
|||
|
Ticket ReadTicketById(int id);
|
|||
|
|
|||
|
void CreateTicket(Ticket ticket);
|
|||
|
|
|||
|
void UpdateTicket(Ticket ticket);
|
|||
|
|
|||
|
void DeleteTicket(int id);
|
|||
|
}
|