C# Class NSwag.Demo.Web.Controllers.PersonsController

Inheritance: ApiController
Afficher le fichier Open project: NSwag/NSwag

Méthodes publiques

Méthode Description
Delete ( int id ) : void
Post ( [ value ) : void

Creates a new person.

Put ( int id, [ value ) : void

Updates the existing person.

Private Methods

Méthode Description
AddHour ( System.DateTime time ) : System.DateTime
Calculate ( int a, int b, [ c ) : int
Get ( int id ) : HttpResponseMessage
Get ( ) : IEnumerable
LoadComplexObject ( ) : Car
Swagger ( ) : HttpResponseMessage
TestAsync ( ) : Task
Xyz ( MyClass data ) : string

Method Details

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

Post() public méthode

Creates a new person.
public Post ( [ value ) : void
value [ The person.
Résultat void

Put() public méthode

Updates the existing person.
public Put ( int id, [ value ) : void
id int The ID.
value [ The person.
Résultat void