ПИбд-23 Ладягин П.Д. Первая л.р. #1
@ -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