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

28 lines
580 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 IFlightRepository
{
2024-11-27 00:48:24 +04:00
Flight ReadFlightById(int id);
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();
2024-11-27 00:48:24 +04:00
2024-11-26 01:43:42 +04:00
//void CreateFlight(Flight flight);
2024-11-13 00:12:08 +04:00
2024-11-27 00:48:24 +04:00
void UpdateFlight(Flight flight);
2024-11-13 00:12:08 +04:00
2024-11-27 00:48:24 +04:00
void DeleteFlight(int id);
2024-11-13 00:12:08 +04:00
}