CommentService.Insert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Insert(Comment, ICommentable, IEnumerable, IEnumerable, Boolean)

Inserts a Comment object into the repository.

public static Comment Insert(Comment comment, ICommentable parent, IEnumerable blobs = null, IEnumerable embeds = null, bool auth = true)

Parameters

comment
Comment
parent
ICommentable
blobs
System.Collections.Generic.IEnumerable{System.Int32}
embeds
System.Collections.Generic.IEnumerable{System.Int32}
auth
System.Boolean

Returns

Comment

The inserted .