ISEbd-21_Sharonov_I_A_Proje.../ProjectAirline/Repositories/ITicketRepository.cs

22 lines
415 B
C#
Raw Normal View History

2024-11-13 00:12:08 +04:00
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);
}