Beispiel #1
0
        public ActionResult GetJCarInfo(string _Vin)
        {
            Car c = new Car();

            c.Vin = _Vin;
            c     = CarUtility.GetCarInfo(c);
            return(Json(c, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
 public Car GetCarInfotst()
 {
     try
     {
         Car car = new Car();
         car.Vin        = "NAS411100G1205277";
         car.ActBy      = 4314;
         car.ActAreaSrl = 94;
         return(CarUtility.GetCarInfo(car));
     }
     catch (Exception ex)
     {
         return(null);
     }
 }
Beispiel #3
0
 public Car GetCarInfo([FromBody] Car car)
 {
     return(CarUtility.GetCarInfo(car));
 }