C# Class FT.Model.CommentRepository

Inheritance: Repository, ICommentRepository
Mostra file Open project: friism/folketsting

Public Methods

Method Description
Comment ( int cid, CommentType commenttype ) : Comment
RecordVote ( int commentid, byte vote, int userid ) : void
SaveComment ( int elementid, int parentid, string comment, CommentType commenttype, int userid ) : void

Method Details

Comment() public method

public Comment ( int cid, CommentType commenttype ) : Comment
cid int
commenttype CommentType
return FT.DB.Comment

RecordVote() public method

public RecordVote ( int commentid, byte vote, int userid ) : void
commentid int
vote byte
userid int
return void

SaveComment() public method

public SaveComment ( int elementid, int parentid, string comment, CommentType commenttype, int userid ) : void
elementid int
parentid int
comment string
commenttype CommentType
userid int
return void