C# Класс SampleAPIApplication.APIs.CarsController

Наследование: ApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Delete() публичный Метод

public Delete ( int id ) : HttpResponseMessage
id int
Результат System.Net.Http.HttpResponseMessage

DeleteCar() публичный Метод

public DeleteCar ( int id ) : HttpResponseMessage
id int
Результат System.Net.Http.HttpResponseMessage

Get() публичный Метод

public Get ( int id ) : Car
id int
Результат SampleAPIApplication.Models.Car

Get() публичный Метод

public Get ( ) : IEnumerable
Результат IEnumerable

GetCar() публичный Метод

public GetCar ( int id ) : Car
id int
Результат SampleAPIApplication.Models.Car

Post() публичный Метод

public Post ( Car car ) : HttpResponseMessage
car SampleAPIApplication.Models.Car
Результат System.Net.Http.HttpResponseMessage

PostCar() публичный Метод

public PostCar ( Car car ) : HttpResponseMessage
car SampleAPIApplication.Models.Car
Результат System.Net.Http.HttpResponseMessage

Put() публичный Метод

public Put ( int id, Car car ) : Car
id int
car SampleAPIApplication.Models.Car
Результат SampleAPIApplication.Models.Car

PutCar() публичный Метод

public PutCar ( int id, Car car ) : Car
id int
car SampleAPIApplication.Models.Car
Результат SampleAPIApplication.Models.Car