22 lines
451 B
C#
22 lines
451 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 IPassangerRepository
|
|
{
|
|
IEnumerable<Passanger> ReadPassangers();
|
|
|
|
Passanger ReadPassangerById(int id);
|
|
|
|
void CreatePassanger(Passanger passanger);
|
|
|
|
void UpdatePassanger(Passanger passanger);
|
|
|
|
void DeletePassanger(int id);
|
|
}
|