ConversationRepo.Get Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Get(int, int?)

Gets a Conversation object from the repository.

public static Conversation Get(int id, int? userId = default(int? ))

Parameters

id
int

Id of conversation.

userId
int?

Get as user with this id.

Returns

Conversation

Returns an instance of the Conversation class.