Ejemplo n.º 1
0
 public JsonResult GetModelAndYearLists(string Id)
 {
     try
     {
         var truck = _truckService.RetrieveModelAndYearListsFromDB(Id);
         return(Json(truck, JsonRequestBehavior.AllowGet));
     }
     catch (Exception)
     {
         throw;
     }
 }