Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
getImageUrl ( Image image ) : string |
public ApiController ( IBlogServices blogservices, IService |
||
blogservices | IBlogServices | |
tagservices | IService |
|
categoryservices | IService |
|
postservices | IService |
|
Результат | System |
public GetPost ( int postid ) : JsonpResult | ||
postid | int | |
Результат | JsonpResult |
public GetPosts ( int page ) : JsonpResult | ||
page | int | |
Результат | JsonpResult |
public GetPostsBy ( string by, string id, int page ) : JsonpResult | ||
by | string | |
id | string | |
page | int | |
Результат | JsonpResult |
public SearchPosts ( string searchstring, int page ) : JsonpResult | ||
searchstring | string | |
page | int | |
Результат | JsonpResult |