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