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

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
{
IEnumerable<Refill> ReadRefills();
Trip ReadRefillByID(int id);
IEnumerable<Refill> ReadRefills(DateTime? dateFrom = null, DateTime? dateTo = null, int? fuelId = null, int? carId = null);
void CreateRefill(Refill refill);
}

View File

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