C# 클래스 Blog.Services.Helpers.Wcf.CommentsResource

상속: ICommentsResource
파일 보기 프로젝트 열기: jsnmgpnty/Blogness2.0

공개 메소드들

메소드 설명
Add ( Comment comment ) : Comment
Delete ( int id ) : bool
Get ( int commentId ) : Comment
GetByPostId ( int id ) : List
GetByUser ( int id ) : List
GetHeartBeat ( ) : bool
GetReplies ( int id ) : List
SearchComments ( string query, int threshold = 5, int skip = 10 ) : List

메소드 상세

Add() 공개 메소드

public Add ( Comment comment ) : Comment
comment Blog.Common.Contracts.Comment
리턴 Blog.Common.Contracts.Comment

Delete() 공개 메소드

public Delete ( int id ) : bool
id int
리턴 bool

Get() 공개 메소드

public Get ( int commentId ) : Comment
commentId int
리턴 Blog.Common.Contracts.Comment

GetByPostId() 공개 메소드

public GetByPostId ( int id ) : List
id int
리턴 List

GetByUser() 공개 메소드

public GetByUser ( int id ) : List
id int
리턴 List

GetHeartBeat() 공개 메소드

public GetHeartBeat ( ) : bool
리턴 bool

GetReplies() 공개 메소드

public GetReplies ( int id ) : List
id int
리턴 List

SearchComments() 공개 메소드

public SearchComments ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
리턴 List