C# Class ReviewR.Web.Services.CommentService

Afficher le fichier Open project: anurse/ReviewR Class Usage Examples

Méthodes publiques

Méthode Description
CommentService ( IDataRepository data ) : System
CreateComment ( int changeId, int line, string body, int userId ) : Comment
DeleteComment ( int id, int userId ) : DatabaseActionOutcome

Méthodes protégées

Méthode Description
CommentService ( ) : System

Method Details

CommentService() protected méthode

protected CommentService ( ) : System
Résultat System

CommentService() public méthode

public CommentService ( IDataRepository data ) : System
data IDataRepository
Résultat System

CreateComment() public méthode

public CreateComment ( int changeId, int line, string body, int userId ) : Comment
changeId int
line int
body string
userId int
Résultat ReviewR.Web.Models.Data.Comment

DeleteComment() public méthode

public DeleteComment ( int id, int userId ) : DatabaseActionOutcome
id int
userId int
Résultat DatabaseActionOutcome