C# Class StarDotOne.Controllers.PersonApiController

Inheritance: ApiController
Afficher le fichier Open project: jongalloway/StarDotOne

Méthodes publiques

Méthode Description
GetPeople ( ) : IQueryable

Returns all people in the system.

PutPerson ( int id, Person person ) : Task

Puts the person.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
DeletePerson ( int id ) : Task
GetPerson ( int id ) : Task
PersonExists ( int id ) : bool

Persons the exists.

PostPerson ( Person person ) : Task

Method Details

Dispose() protected méthode

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.
Résultat void

GetPeople() public méthode

Returns all people in the system.
public GetPeople ( ) : IQueryable
Résultat IQueryable

PutPerson() public méthode

Puts the person.
public PutPerson ( int id, Person person ) : Task
id int The identifier.
person StarDotOne.Models.Person The person.
Résultat Task