17 lines
257 B
C#
17 lines
257 B
C#
using ProjectFuel.Entities;
|
|
|
|
namespace ProjectFuel.Repositories;
|
|
|
|
public interface ICarRepository
|
|
{
|
|
IEnumerable<Car> ReadCars();
|
|
|
|
Car ReadCarByID(int id);
|
|
|
|
void CreateCar(Car car);
|
|
|
|
void UpdateCar(Car car);
|
|
|
|
void DeleteCar(int id);
|
|
}
|