UserRepo.GetByUsername Method

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

GetByUsername(String)

Gets the Id of the User with the specified username.

public static int? GetByUsername(string username)

Parameters

username
System.String

Returns

System.Nullable{System.Int32}

Return an int, or null if no item has the specified username.