22 lines
403 B
C#
22 lines
403 B
C#
using ProjectAirline.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectAirline.Repositories;
|
|
|
|
public interface IPlaneRepository
|
|
{
|
|
IEnumerable<Plane> ReadPlanes();
|
|
|
|
Plane ReadPlaneById(int id);
|
|
|
|
void CreatePlane(Plane plane);
|
|
|
|
void UpdatePlane(Plane plane);
|
|
|
|
void DeletePlane(int id);
|
|
}
|