Method | Description | |
---|---|---|
CommentService ( Umbraco.Core.DatabaseContext dbContext, |
||
Delete ( OurUmbraco.Forum.Models.Comment comment ) : void | ||
GetAllCommentsForMember ( int memberId ) : IEnumerable |
Returns all comments that a given member has created
|
|
GetById ( int id ) : OurUmbraco.Forum.Models.Comment | ||
Save ( OurUmbraco.Forum.Models.Comment comment, bool updateTopicPostCount = true ) : OurUmbraco.Forum.Models.Comment | ||
SendNotifications ( OurUmbraco.Forum.Models.Comment comment, string memberName, string commentUrl ) : void |
Method | Description | |
---|---|---|
UpdateTopicPostsCount ( OurUmbraco.Forum.Models.Comment c, bool adding = true ) : void |
public CommentService ( Umbraco.Core.DatabaseContext dbContext, |
||
dbContext | Umbraco.Core.DatabaseContext | |
topicService | ||
return | System |
public Delete ( OurUmbraco.Forum.Models.Comment comment ) : void | ||
comment | OurUmbraco.Forum.Models.Comment | |
return | void |
public GetAllCommentsForMember ( int memberId ) : IEnumerable |
||
memberId | int | |
return | IEnumerable |
public GetById ( int id ) : OurUmbraco.Forum.Models.Comment | ||
id | int | |
return | OurUmbraco.Forum.Models.Comment |
public Save ( OurUmbraco.Forum.Models.Comment comment, bool updateTopicPostCount = true ) : OurUmbraco.Forum.Models.Comment | ||
comment | OurUmbraco.Forum.Models.Comment | |
updateTopicPostCount | bool | |
return | OurUmbraco.Forum.Models.Comment |
public SendNotifications ( OurUmbraco.Forum.Models.Comment comment, string memberName, string commentUrl ) : void | ||
comment | OurUmbraco.Forum.Models.Comment | |
memberName | string | |
commentUrl | string | |
return | void |