18 lines
309 B
C#
18 lines
309 B
C#
|
using ProjectFuel.Entities;
|
|||
|
using ProjectFuel.Entities;
|
|||
|
|
|||
|
namespace ProjectFuel.Repositories;
|
|||
|
|
|||
|
public interface IRouteRepository
|
|||
|
{
|
|||
|
IEnumerable<Route> ReadRoutes();
|
|||
|
|
|||
|
Route ReadRouteByID(int id);
|
|||
|
|
|||
|
void CreateRoute(Route route);
|
|||
|
|
|||
|
void UpdateRoute(Route route);
|
|||
|
|
|||
|
void DeleteRoute(int id);
|
|||
|
}
|