C# Класс StarDotOne.Controllers.PersonApiController

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

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

Метод Описание
GetPeople ( ) : IQueryable

Returns all people in the system.

PutPerson ( int id, Person person ) : Task

Puts the person.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.

Приватные методы

Метод Описание
DeletePerson ( int id ) : Task
GetPerson ( int id ) : Task
PersonExists ( int id ) : bool

Persons the exists.

PostPerson ( Person person ) : Task

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

Dispose() защищенный Метод

Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Returns all people in the system.
public GetPeople ( ) : IQueryable
Результат IQueryable

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

Puts the person.
public PutPerson ( int id, Person person ) : Task
id int The identifier.
person StarDotOne.Models.Person The person.
Результат Task