Затычка в интерфейсах сущностей-операций

This commit is contained in:
Павел Ладягин 2024-11-17 13:18:19 +04:00
parent 3c820d581e
commit d88eccb219
2 changed files with 2 additions and 6 deletions

View File

@ -4,9 +4,7 @@ namespace FuelAndLubricants.Repositories;
public interface IRefillRepository public interface IRefillRepository
{ {
IEnumerable<Refill> ReadRefills(); IEnumerable<Refill> ReadRefills(DateTime? dateFrom = null, DateTime? dateTo = null, int? fuelId = null, int? carId = null);
Trip ReadRefillByID(int id);
void CreateRefill(Refill refill); void CreateRefill(Refill refill);
} }

View File

@ -4,9 +4,7 @@ namespace FuelAndLubricants.Repositories;
public interface ITripRepository public interface ITripRepository
{ {
IEnumerable<Trip> ReadTrips(); IEnumerable<Trip> ReadTrips(DateTime? dateFrom = null, DateTime? dateTo = null, int? carId = null, int? driverId = null, int? routeId = null);
Trip ReadTripByID(int id);
void CreateTrip(Trip trip); void CreateTrip(Trip trip);
} }