diff --git a/Controllers/VehicleController.cs b/Controllers/VehicleController.cs index 138f346..0080063 100644 --- a/Controllers/VehicleController.cs +++ b/Controllers/VehicleController.cs @@ -321,7 +321,7 @@ namespace CarCareTracker.Controllers [HttpGet] public IActionResult GetAddGasRecordPartialView() { - return PartialView("_GasModal", new GasRecordInput()); + return PartialView("_GasModal", new GasRecordInputContainer()); } [HttpGet] public IActionResult GetGasRecordForEditById(int gasRecordId)