14 lines
360 B
C#
14 lines
360 B
C#
|
using System.Collections.Generic;
|
|||
|
using YourNamespace.Entities;
|
|||
|
|
|||
|
namespace YourNamespace.Repositories
|
|||
|
{
|
|||
|
public interface IFlightRepository
|
|||
|
{
|
|||
|
IEnumerable<Flight> ReadFlights();
|
|||
|
Flight ReadFlightById(int id);
|
|||
|
void CreateFlight(Flight flight);
|
|||
|
void UpdateFlight(Flight flight);
|
|||
|
void DeleteFlight(int id);
|
|||
|
}
|
|||
|
}
|