Allow users to increment for last reported odometer reading when creating new records.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-04-01 18:25:20 -06:00
parent 3e7917f767
commit 17a6d99703
9 changed files with 136 additions and 49 deletions

View File

@@ -2340,6 +2340,12 @@ namespace CarCareTracker.Controllers
}
#endregion
#region "Shared Methods"
[TypeFilter(typeof(CollaboratorFilter))]
public IActionResult GetMaxMileage(int vehicleId)
{
var result = _vehicleLogic.GetMaxMileage(vehicleId);
return Json(result);
}
public IActionResult MoveRecord(int recordId, ImportMode source, ImportMode destination)
{
var genericRecord = new GenericRecord();