C# 클래스 StarDotOne.Controllers.PersonApiController

상속: ApiController
파일 보기 프로젝트 열기: jongalloway/StarDotOne

공개 메소드들

메소드 설명
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