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

Inheritance: ApiController
Mostra file Open project: NSwag/NSwag

Public Methods

Method Description
Delete ( int id ) : void
Post ( [ value ) : void

Creates a new person.

Put ( int id, [ value ) : void

Updates the existing person.

Private Methods

Method 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 method

public Delete ( int id ) : void
id int
return void

Post() public method

Creates a new person.
public Post ( [ value ) : void
value [ The person.
return void

Put() public method

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