ConversationService.GetAsMember Method

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

GetAsMember(int, int, bool, bool)

Gets a Conversation object from the repository.

public static Conversation GetAsMember(int id, int memberId, bool sudo = false, bool trashed = false)

Parameters

id
int

Id of the Conversation.

memberId
int

Id of the conversation member.

sudo
bool

true to perform action as super user, otherwise false.

trashed
bool

true to return conversation even if trashed, otherwise false.

Returns

Conversation

Returns an instance of the Conversation class.