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

Inheritance: ApiController
Mostra file Open project: cosullivan/Hypermedia

Public Methods

Method Description
GetPostsController ( IDatabase database ) : System

Constructor.

Private Methods

Method Description
Execute ( string q = null, int skip, int take = 100, IRequestMetadata metadata = null ) : IHttpActionResult
Predicate ( string searchText ) : Predicate

Returns a prediate to use for filtering the entities to return.

Method Details

GetPostsController() public method

Constructor.
public GetPostsController ( IDatabase database ) : System
database IDatabase The databsae instance.
return System