public IActionResult Delete(Maintenance maintenance) { _repository.DeleteMaintenance(maintenance.Id); return(Redirect($"/Vehicle/Detail/?id={maintenance.VehicleId}")); }
public IActionResult Delete(Maintenance maintenance) { _repository.DeleteMaintenance(maintenance.Id); return(Redirect($"/Vehicle/Detail/?id={maintenance.VehicleId}")); }