Méthode | Description | |
---|---|---|
BlogController ( IPostRepository postRepository, ICategoryRepository categoryRepository ) : System | ||
Category ( string id = "" ) : Task |
||
Error404 ( ) : System.Web.Mvc.ViewResult | ||
Error500 ( ) : System.Web.Mvc.ViewResult | ||
GetPostList ( |
获取文章列表
|
|
GetPreviewContent ( string id ) : Task |
根据Id获取预览内容
|
Méthode | Description | |
---|---|---|
Item ( string id ) : Task |
public BlogController ( IPostRepository postRepository, ICategoryRepository categoryRepository ) : System | ||
postRepository | IPostRepository | |
categoryRepository | ICategoryRepository | |
Résultat | System |
public Error404 ( ) : System.Web.Mvc.ViewResult | ||
Résultat | System.Web.Mvc.ViewResult |
public Error500 ( ) : System.Web.Mvc.ViewResult | ||
Résultat | System.Web.Mvc.ViewResult |
public GetPostList ( |
||
filter | ||
Résultat | Task |
public GetPreviewContent ( string id ) : Task |
||
id | string | |
Résultat | Task |