MessageService.Get Method

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

Overloads

Get(IEnumerable, Boolean) Gets a list of Message objects from the repository.
Get(Int32, Boolean) Gets the specified Message.

Get(IEnumerable, Boolean)

Gets a list of Message objects from the repository.

public static IEnumerable Get(IEnumerable ids, bool filter = true)

Parameters

ids
System.Collections.Generic.IEnumerable{System.Int32}
filter
System.Boolean

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Message}

Returns a list of objects.

Get(Int32, Boolean)

Gets the specified Message.

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

Parameters

id
System.Int32
filter
System.Boolean

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Message}

Returns an instance of the class.