C# Class Swagger.Net.WebApi.Controllers.TagsController

Inheritance: ApiController
ファイルを表示 Open project: giacomelli/DG-Swagger.Net

Public Methods

Method Description
Delete ( int id ) : void

Remove a Tag by it's id

Get ( ) : IEnumerable

Get all of the Tags

Get ( int id ) : string

Get a single Tag by it's id

Post ( [ value ) : void

Create a new Tag.

Put ( int id, [ value ) : void

Update a Tag by it's id

Method Details

Delete() public method

Remove a Tag by it's id
public Delete ( int id ) : void
id int
return void

Get() public method

Get all of the Tags
public Get ( ) : IEnumerable
return IEnumerable

Get() public method

Get a single Tag by it's id
public Get ( int id ) : string
id int
return string

Post() public method

Create a new Tag.
public Post ( [ value ) : void
value [ The value.
return void

Put() public method

Update a Tag by it's id
public Put ( int id, [ value ) : void
id int
value [
return void