CamelCaseJsonFormatterSample.Controllers.CarController.Get C# (CSharp) Méthode

Get() public méthode

public Get ( int id ) : Car
id int
Résultat CamelCaseJsonFormatterSample.Entities.Car
        public Car Get(int id) {
            return new Car() {
                Id = id,
                Make = "Porsche",
                Model = "911",
                Price = 100000f,
                Year = 2012
            };
        }
CarController