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 IFlightRepository
|
|
|
|
|
{
|
2024-11-26 01:43:42 +04:00
|
|
|
|
IEnumerable<Flight> ReadFlights(DateTime? dateFrom = null, DateTime? dateTo = null, int? flightId = null);
|
2024-11-13 00:12:08 +04:00
|
|
|
|
|
|
|
|
|
void CreateFlight(Flight flight);
|
2024-11-26 01:43:42 +04:00
|
|
|
|
|
|
|
|
|
//IEnumerable<Flight> ReadFlights();
|
|
|
|
|
|
|
|
|
|
//Flight ReadFlightById(int id);
|
|
|
|
|
|
|
|
|
|
//void CreateFlight(Flight flight);
|
2024-11-13 00:12:08 +04:00
|
|
|
|
|
2024-11-26 01:43:42 +04:00
|
|
|
|
//void UpdateFlight(Flight flight);
|
2024-11-13 00:12:08 +04:00
|
|
|
|
|
2024-11-26 01:43:42 +04:00
|
|
|
|
//void DeleteFlight(int id);
|
2024-11-13 00:12:08 +04:00
|
|
|
|
}
|