RoleRepo.Get Method

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

Overloads

Get(Int32) Gets a Role object from the repository.
Get(String) Gets a Role object from the repository.

Get(Int32)

Gets a Role object from the repository.

public static Role Get(int id)

Parameters

id
System.Int32

Returns

Role

Returns an instance of the class.

Get(String)

Gets a Role object from the repository.

public static Role Get(string name)

Parameters

name
System.String

Returns

Role

Returns an instance of the class.