diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/IRefillRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/IRefillRepository.cs index ca33f73..0160072 100644 --- a/FuelAndLubricants/FuelAndLubricants/Repositories/IRefillRepository.cs +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/IRefillRepository.cs @@ -4,9 +4,7 @@ namespace FuelAndLubricants.Repositories; public interface IRefillRepository { - IEnumerable ReadRefills(); - - Trip ReadRefillByID(int id); + IEnumerable ReadRefills(DateTime? dateFrom = null, DateTime? dateTo = null, int? fuelId = null, int? carId = null); void CreateRefill(Refill refill); } diff --git a/FuelAndLubricants/FuelAndLubricants/Repositories/ITripRepository.cs b/FuelAndLubricants/FuelAndLubricants/Repositories/ITripRepository.cs index 0f68261..6ceb297 100644 --- a/FuelAndLubricants/FuelAndLubricants/Repositories/ITripRepository.cs +++ b/FuelAndLubricants/FuelAndLubricants/Repositories/ITripRepository.cs @@ -4,9 +4,7 @@ namespace FuelAndLubricants.Repositories; public interface ITripRepository { - IEnumerable ReadTrips(); - - Trip ReadTripByID(int id); + IEnumerable ReadTrips(DateTime? dateFrom = null, DateTime? dateTo = null, int? carId = null, int? driverId = null, int? routeId = null); void CreateTrip(Trip trip); }