public JsonResult GetCars() { CarEntity carEntity = new CarEntity(); var model = carEntity.Cars(); return(Json(model, JsonRequestBehavior.AllowGet)); }