C# 클래스 Blog.Services.Helpers.Rest.CommentsRestResource

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

공개 메소드들

메소드 설명
Add ( Comment comment, string authenticationToken ) : Comment
Delete ( int commentId, string authenticationToken ) : bool
Get ( int commentId ) : Comment
GetByPostId ( int postId ) : List
GetByUser ( int userId ) : List
GetReplies ( int commentId ) : List

메소드 상세

Add() 공개 메소드

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

Delete() 공개 메소드

public Delete ( int commentId, string authenticationToken ) : bool
commentId int
authenticationToken string
리턴 bool

Get() 공개 메소드

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

GetByPostId() 공개 메소드

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

GetByUser() 공개 메소드

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

GetReplies() 공개 메소드

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