Затычка в интерфейсах сущностей-операций
This commit is contained in:
parent
3c820d581e
commit
d88eccb219
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user