C# Class Randao.Core.Service.ArticleCollectService

收藏业务类
Show file Open project: fds/DKBD Class Usage Examples

Public Methods

Method Description
AddArticleCollect ( ArticleCollectDataContract articleCollect, int categoryId ) : ReturnResult

收藏帖子

ArticleCollectService ( ArticleCategoryService _articleCategoryService, MemberService _memberService, ArticleContentService _articleContentService ) : System
DeleteArticleCollect ( long userKeyId, long collectId ) : ReturnResult

删除收藏的帖子

GetArticleCollect ( long userKeyId, int page, int pageSize ) : PageList

获取我收藏的帖子

GetArticleCollectCount ( long userKeyId ) : ReturnResult

获取收藏的帖子数量

Method Details

AddArticleCollect() public method

收藏帖子
public AddArticleCollect ( ArticleCollectDataContract articleCollect, int categoryId ) : ReturnResult
articleCollect Randao.DataContracts.ArticleCollectDataContract
categoryId int
return ReturnResult

ArticleCollectService() public method

public ArticleCollectService ( ArticleCategoryService _articleCategoryService, MemberService _memberService, ArticleContentService _articleContentService ) : System
_articleCategoryService ArticleCategoryService
_memberService MemberService
_articleContentService ArticleContentService
return System

DeleteArticleCollect() public method

删除收藏的帖子
public DeleteArticleCollect ( long userKeyId, long collectId ) : ReturnResult
userKeyId long
collectId long
return ReturnResult

GetArticleCollect() public method

获取我收藏的帖子
public GetArticleCollect ( long userKeyId, int page, int pageSize ) : PageList
userKeyId long
page int
pageSize int
return PageList

GetArticleCollectCount() public method

获取收藏的帖子数量
public GetArticleCollectCount ( long userKeyId ) : ReturnResult
userKeyId long
return ReturnResult