CommentService.Insert Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Insert(Comment, ICommentable, IEnumerable, IEnumerable, IEnumerable, bool)
Inserts a Comment object into the repository.
public static Comment Insert(Comment comment, ICommentable parent, IEnumerable<int> blobs = null, IEnumerable<int> embeds = null, IEnumerable<int> meetings = null, bool sudo = false)
Parameters
- parent
- ICommentable
The parent object where the commetn should be inserted.
- blobs
- System.Collections.Generic.IEnumerable
Ids of Blobs to attach.
- embeds
- System.Collections.Generic.IEnumerable
Ids of Embeds to attach
- meetings
- System.Collections.Generic.IEnumerable
Ids of Meetings to attach
- sudo
- bool
true
to perform action as super user, otherwise false
.