C# Class Hypermedia.Sample.WebApi.Controllers.GetCommentsByPostIdController

Inheritance: ApiController
ファイルを表示 Open project: cosullivan/Hypermedia

Public Methods

Method Description
GetCommentsByPostIdController ( IDatabase database ) : System.Web.Http

Constructor.

Private Methods

Method Description
Execute ( int postId ) : IHttpActionResult

Method Details

GetCommentsByPostIdController() public method

Constructor.
public GetCommentsByPostIdController ( IDatabase database ) : System.Web.Http
database IDatabase The databsae instance.
return System.Web.Http