C# 클래스 NSwag.Demo.Web.Controllers.PersonsController

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

공개 메소드들

메소드 설명
Delete ( int id ) : void
Post ( [ value ) : void

Creates a new person.

Put ( int id, [ value ) : void

Updates the existing person.

비공개 메소드들

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

메소드 상세

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

Post() 공개 메소드

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

Put() 공개 메소드

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