Add service reminder migration Add Completed Service button to vehicle
This commit is contained in:
@@ -37,6 +37,7 @@ namespace MileageTraker.Web.Controllers
|
||||
[ActionLog]
|
||||
public ActionResult Export(FuelLogQueryViewModel query)
|
||||
{
|
||||
query.Unmatched = false; // override unmatched for export, export them all!
|
||||
var validLogYearMonths = DataService.GetValidFuelLogMonths();
|
||||
|
||||
// default parameter processing
|
||||
|
||||
@@ -63,6 +63,12 @@ namespace MileageTraker.Web.Controllers
|
||||
return View();
|
||||
}
|
||||
|
||||
[RequireRequestValue("vehicleId")]
|
||||
public ActionResult Create(string vehicleId)
|
||||
{
|
||||
return View(new VehicleServiceViewModel{VehicleId = vehicleId});
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[ActionLog]
|
||||
public ActionResult Create(VehicleServiceViewModel viewModel)
|
||||
|
||||
Reference in New Issue
Block a user