ConversationRepo.GetOneOnOne Method

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

GetOneOnOne(int, int)

Gets an existing one-on-one Conversation between 2 people from the repository.

public static Conversation GetOneOnOne(int first, int second)

Parameters

first
int

Id of the first user

second
int

Id of the second user

Returns

Conversation

Returns an instance of the Conversation class.