AttachmentService.Update Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Update(Attachment, bool)
Update an attachment.
public static Attachment Update(Attachment attachment, bool sudo = false)
Parameters
- attachment
- Attachment
The attachment to update.
- sudo
- bool
true
to perform action as super user, otherwise false
.
Returns
Attachment
The inserted attachment.