C# Class SnooNotesAPI.Controllers.SubredditController

Inheritance: ApiController
显示文件 Open project: CrustyJew/SnooNotes

Public Methods

Method Description
Delete ( int id ) : void
Get ( ) : Task>
Get ( string id ) : Task>
Post ( [ newSub ) : System.Threading.Tasks.Task
Put ( string id, [ sub ) : Task
SubredditController ( ) : System

Method Details

Delete() public method

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

Get() public method

public Get ( ) : Task>
return Task>

Get() public method

public Get ( string id ) : Task>
id string
return Task>

Post() public method

public Post ( [ newSub ) : System.Threading.Tasks.Task
newSub [
return System.Threading.Tasks.Task

Put() public method

public Put ( string id, [ sub ) : Task
id string
sub [
return Task

SubredditController() public method

public SubredditController ( ) : System
return System