ConversationService.Insert Method

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

Insert(Conversation, IEnumerable)

Inserts a Conversation object into the repository.

public static Conversation Insert(Conversation conversation, IEnumerable<int> users = null)

Parameters

conversation
Conversation

Conversation to insert.

users
System.Collections.Generic.IEnumerable

Id of users that should be part of the conversation.

Returns

Conversation

The inserted Conversation