diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/CarRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/CarRepository.cs new file mode 100644 index 0000000..5759289 --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/CarRepository.cs @@ -0,0 +1,28 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class CarRepository : ICarRepository +{ + public void CreateCar(Car car) + { + } + + public void DeleteCar(int id) + { + } + + public Car ReadCarByID(int id) + { + return Car.CreateEntity(0, string.Empty, string.Empty, 0, 0, 0); + } + + public IEnumerable ReadCars() + { + return []; + } + + public void UpdateCar(Car car) + { + } +} diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/DriverRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/DriverRepository.cs new file mode 100644 index 0000000..7194bc2 --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/DriverRepository.cs @@ -0,0 +1,28 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class DriverRepository : IDriverRepository +{ + public void CreateDriver(Driver driver) + { + } + + public void DeleteDriver(int id) + { + } + + public Driver ReadDriverByID(int id) + { + return Driver.CreateEntity(0, string.Empty, string.Empty, 0); + } + + public IEnumerable ReadDrivers() + { + return []; + } + + public void UpdateDriver(Driver driver) + { + } +} diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/FuelRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/FuelRepository.cs new file mode 100644 index 0000000..d2ad30b --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/FuelRepository.cs @@ -0,0 +1,28 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class FuelRepository : IFuelRepository +{ + public void CreateDriver(Fuel_And_Lubricants fuel) + { + } + + public void DeleteFuel(int id) + { + } + + public Fuel_And_Lubricants ReadFuelByID(int id) + { + return Fuel_And_Lubricants.CreateEntity(0, 0, 0, 0); + } + + public IEnumerable ReadFuels() + { + return []; + } + + public void UpdateFuel(Fuel_And_Lubricants fuel) + { + } +} diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RefillRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RefillRepository.cs new file mode 100644 index 0000000..719e34c --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RefillRepository.cs @@ -0,0 +1,15 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class RefillRepository : IRefillRepository +{ + public void CreateRefill(Refill refill) + { + } + + public IEnumerable ReadRefills(DateTime? dateFrom = null, DateTime? dateTo = null, int? fuelId = null, int? carId = null) + { + return []; + } +} diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RouteRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RouteRepository.cs new file mode 100644 index 0000000..cc9e08e --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/RouteRepository.cs @@ -0,0 +1,28 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class RouteRepository : IRouteRepository +{ + public void CreateRoute(Route route) + { + } + + public void DeleteRoute(int id) + { + } + + public Route ReadRouteByID(int id) + { + return Route.CreateEntity(0, string.Empty, string.Empty, 0); + } + + public IEnumerable ReadRoutes() + { + return []; + } + + public void UpdateRoute(Route route) + { + } +} diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/TripRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/TripRepository.cs new file mode 100644 index 0000000..9cd8e6f --- /dev/null +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/Implementations/TripRepository.cs @@ -0,0 +1,15 @@ +using FuelAndLubricants.Entities; + +namespace FuelAndLubricants.Repositories.Implementations; + +public class TripRepository : ITripRepository +{ + public void CreateTrip(Trip trip) + { + } + + public IEnumerable ReadTrips(DateTime? dateFrom = null, DateTime? dateTo = null, int? carId = null, int? driverId = null, int? routeId = null) + { + return []; + } +}