13 lines
406 B
C#
Raw Normal View History

2024-12-11 09:33:12 +04:00
using ProjectAirline.Entities;
using System;
using System.Collections.Generic;
2024-11-27 00:03:35 +04:00
2024-12-11 09:33:12 +04:00
namespace ProjectAirline.Repositories;
public interface IFlightRepository
2024-11-27 00:03:35 +04:00
{
2024-12-11 09:33:12 +04:00
IEnumerable<Flight> ReadFlights(DateTime? dateForm = null, DateTime? dateTo = null, int? flightId = null, int? airplaneId = null);
Flight ReadFlightById(int flightId);
void CreateFlight(Flight flight);
void DeleteFlight(int id);
2024-11-27 00:03:35 +04:00
}