public GetUserByID ( int id ) : |
||
id | int | The user's ID. |
Результат |
public User GetUserByID(int id)
{
try
{
return GetUser(new User {ID = id});
}
catch (UserManagerException)
{
return null;
}
}