메소드 | 설명 | |
---|---|---|
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获取预览内容
|
메소드 | 설명 | |
---|---|---|
Item ( string id ) : Task |
public BlogController ( IPostRepository postRepository, ICategoryRepository categoryRepository ) : System | ||
postRepository | IPostRepository | |
categoryRepository | ICategoryRepository | |
리턴 | System |
public GetPostList ( |
||
filter | ||
리턴 | Task |