ISEbd-21_Sharonov_I_A_Proje.../ProjectAirline/Repositories/IFlightRepository.cs
2024-11-26 02:13:34 +04:00

26 lines
580 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 IFlightRepository
{
IEnumerable<Flight> ReadFlights(DateTime? dateFrom = null, DateTime? dateTo = null, int? flightId = null);
void CreateFlight(Flight flight);
//IEnumerable<Flight> ReadFlights();
//Flight ReadFlightById(int id);
//void CreateFlight(Flight flight);
//void UpdateFlight(Flight flight);
//void DeleteFlight(int id);
}