public ActionResult <List <VehiclesModel> > Get()
 {
     try
     {
         List <VehiclesModel> vehiclesModel = _vehicleService.GetVehicleDetails();
         return(Ok(vehiclesModel));
     }
     catch (ArgumentNullException ane)
     {
         return(BadRequest(ane.Message));
     }
     catch (Exception ex)
     {
         _logger?.LogCritical("There was an error on '{0}' invocation: {1}", nameof(Get), ex);
         return(new StatusCodeResult((int)HttpStatusCode.InternalServerError));
     }
 }