C# 클래스 ReviewR.Web.Services.CommentService

파일 보기 프로젝트 열기: anurse/ReviewR 1 사용 예제들

공개 메소드들

메소드 설명
CommentService ( IDataRepository data ) : System
CreateComment ( int changeId, int line, string body, int userId ) : Comment
DeleteComment ( int id, int userId ) : DatabaseActionOutcome

보호된 메소드들

메소드 설명
CommentService ( ) : System

메소드 상세

CommentService() 보호된 메소드

protected CommentService ( ) : System
리턴 System

CommentService() 공개 메소드

public CommentService ( IDataRepository data ) : System
data IDataRepository
리턴 System

CreateComment() 공개 메소드

public CreateComment ( int changeId, int line, string body, int userId ) : Comment
changeId int
line int
body string
userId int
리턴 ReviewR.Web.Models.Data.Comment

DeleteComment() 공개 메소드

public DeleteComment ( int id, int userId ) : DatabaseActionOutcome
id int
userId int
리턴 DatabaseActionOutcome