AttachmentService.Get Method

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

Get(int, bool)

Gets an Attachment from the repository.

public static Attachment Get(int id, bool filter = true)

Parameters

id
int

Id of the attachment.

filter
bool

true to filter out attachments that are trashed or where the user does not have View, otherwise false.

Returns