Méthode | Description | |
---|---|---|
ApiController ( IBlogServices blogservices, IService |
||
GetCategories ( ) : JsonpResult | ||
GetPost ( int postid ) : JsonpResult | ||
GetPosts ( int page ) : JsonpResult | ||
GetPostsBy ( string by, string id, int page ) : JsonpResult | ||
GetTags ( ) : JsonpResult | ||
GetThumbnail ( string url ) : void | ||
SearchPosts ( string searchstring, int page ) : JsonpResult |
Méthode | Description | |
---|---|---|
getImageUrl ( Image image ) : string |
public ApiController ( IBlogServices blogservices, IService |
||
blogservices | IBlogServices | |
tagservices | IService |
|
categoryservices | IService |
|
postservices | IService |
|
Résultat | System |
public GetPost ( int postid ) : JsonpResult | ||
postid | int | |
Résultat | JsonpResult |
public GetPostsBy ( string by, string id, int page ) : JsonpResult | ||
by | string | |
id | string | |
page | int | |
Résultat | JsonpResult |
public SearchPosts ( string searchstring, int page ) : JsonpResult | ||
searchstring | string | |
page | int | |
Résultat | JsonpResult |