14 lines
372 B
C#
14 lines
372 B
C#
|
using System.Collections.Generic;
|
|||
|
using YourNamespace.Entities;
|
|||
|
|
|||
|
namespace YourNamespace.Repositories
|
|||
|
{
|
|||
|
public interface IAirportRepository
|
|||
|
{
|
|||
|
IEnumerable<Airport> ReadAirports();
|
|||
|
Airport ReadAirportById(int id);
|
|||
|
void CreateAirport(Airport airport);
|
|||
|
void UpdateAirport(Airport airport);
|
|||
|
void DeleteAirport(int id);
|
|||
|
}
|
|||
|
}
|