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

Inheritance: ApiController
Afficher le fichier Open project: brickpile/brickpile

Méthodes publiques

Méthode 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 méthode

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

Delete() public méthode

public Delete ( string id ) : void
id string
Résultat void

Get() public méthode

public Get ( int page ) : AssetResponse
page int
Résultat AssetResponse

Get() public méthode

Gets the specified recent.
public Get ( int page, int recent ) : AssetResponse
page int The page.
recent int The recent.
Résultat AssetResponse

Get() public méthode

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

Post() public méthode

Posts this instance.
public Post ( ) : Task>
Résultat Task>