using System.Collections.Generic; using YourNamespace.Entities; namespace YourNamespace.Repositories { public interface IFlightRepository { IEnumerable ReadFlights(); Flight ReadFlightById(int id); void CreateFlight(Flight flight); void UpdateFlight(Flight flight); void DeleteFlight(int id); } }