From d88eccb219e12eb318197ea8761fcff69b65d498 Mon Sep 17 00:00:00 2001 From: F1rsTTeaM Date: Sun, 17 Nov 2024 13:18:19 +0400 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=82=D1=8B=D1=87=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B2=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D0=B0=D1=85=20=D1=81=D1=83=D1=89=D0=BD=D0=BE=D1=81=D1=82=D0=B5?= =?UTF-8?q?=D0=B9-=D0=BE=D0=BF=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FuelAndLubricants/Repositories/IRefillRepository.cs | 4 +--- .../FuelAndLubricants/Repositories/ITripRepository.cs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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); }