CommentRepo.Get Method

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

Overloads

Get(IEntity) Gets a list of comments for the specified entity.
Get(Int32) Gets a Comment object from the repository.

Get(IEntity)

Gets a list of comments for the specified entity.

public static IEnumerable Get(IEntity entity)

Parameters

entity
IEntity

Returns

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

Get(Int32)

Gets a Comment object from the repository.

public static Comment Get(int id)

Parameters

id
System.Int32

Returns

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

Returns an instance of the class.