C# Class BrickPile.UI.Areas.UI.Controllers.AssetController

Inheritance: ApiController
Show file Open project: brickpile/brickpile

Public Methods

Method Description
AssetController ( IDocumentStore store ) : System

Initializes a new instance of the AssetController class.

Delete ( string id ) : void
Get ( int page ) : AssetResponse
Get ( int page, int recent ) : AssetResponse

Gets the specified recent.

Get ( int page, string type ) : AssetResponse

Gets the specified type.

Post ( ) : Task>

Posts this instance.

Method Details

AssetController() public method

Initializes a new instance of the AssetController class.
public AssetController ( IDocumentStore store ) : System
store IDocumentStore The store.
return System

Delete() public method

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

Get() public method

public Get ( int page ) : AssetResponse
page int
return AssetResponse

Get() public method

Gets the specified recent.
public Get ( int page, int recent ) : AssetResponse
page int The page.
recent int The recent.
return AssetResponse

Get() public method

Gets the specified type.
public Get ( int page, string type ) : AssetResponse
page int The page.
type string The type.
return AssetResponse

Post() public method

Posts this instance.
public Post ( ) : Task>
return Task>