added backend for planner.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-19 14:54:15 -07:00
parent 58c49c1240
commit bc2bb3636b
16 changed files with 394 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
using CarCareTracker.Models;
namespace CarCareTracker.External.Interfaces
{
public interface IPlanRecordDataAccess
{
public List<PlanRecord> GetPlanRecordsByVehicleId(int vehicleId);
public PlanRecord GetPlanRecordById(int planRecordId);
public bool DeletePlanRecordById(int planRecordId);
public bool SavePlanRecordToVehicle(PlanRecord planRecord);
public bool DeleteAllPlanRecordsByVehicleId(int vehicleId);
}
}