C# Class SampleAPIApplication.APIs.CarsController

Inheritance: ApiController
Afficher le fichier Open project: tugberkugurlu/ProWebAPI.Samples

Méthodes publiques

Méthode Description
Delete ( int id ) : HttpResponseMessage
DeleteCar ( int id ) : HttpResponseMessage
Get ( int id ) : Car
Get ( ) : IEnumerable
GetCar ( int id ) : Car
Post ( Car car ) : HttpResponseMessage
PostCar ( Car car ) : HttpResponseMessage
Put ( int id, Car car ) : Car
PutCar ( int id, Car car ) : Car

Method Details

Delete() public méthode

public Delete ( int id ) : HttpResponseMessage
id int
Résultat System.Net.Http.HttpResponseMessage

DeleteCar() public méthode

public DeleteCar ( int id ) : HttpResponseMessage
id int
Résultat System.Net.Http.HttpResponseMessage

Get() public méthode

public Get ( int id ) : Car
id int
Résultat SampleAPIApplication.Models.Car

Get() public méthode

public Get ( ) : IEnumerable
Résultat IEnumerable

GetCar() public méthode

public GetCar ( int id ) : Car
id int
Résultat SampleAPIApplication.Models.Car

Post() public méthode

public Post ( Car car ) : HttpResponseMessage
car SampleAPIApplication.Models.Car
Résultat System.Net.Http.HttpResponseMessage

PostCar() public méthode

public PostCar ( Car car ) : HttpResponseMessage
car SampleAPIApplication.Models.Car
Résultat System.Net.Http.HttpResponseMessage

Put() public méthode

public Put ( int id, Car car ) : Car
id int
car SampleAPIApplication.Models.Car
Résultat SampleAPIApplication.Models.Car

PutCar() public méthode

public PutCar ( int id, Car car ) : Car
id int
car SampleAPIApplication.Models.Car
Résultat SampleAPIApplication.Models.Car