C# Class Blog.Services.Helpers.Wcf.UsersResource

Inheritance: IUsersResource
Mostra file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( User user ) : User
Get ( int userId ) : User
GetByIdentityId ( string identityId ) : User
GetByUserName ( string username ) : User
GetHeartBeat ( ) : bool
GetUsers ( int threshold = 10, int skip = 10 ) : List
GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
GetUsersWithNoIdentityId ( ) : List
SearchUsers ( string query, int threshold = 5, int skip = 10 ) : List
Update ( User user ) : User

Method Details

Add() public method

public Add ( User user ) : User
user Blog.Common.Contracts.User
return Blog.Common.Contracts.User

Get() public method

public Get ( int userId ) : User
userId int
return Blog.Common.Contracts.User

GetByIdentityId() public method

public GetByIdentityId ( string identityId ) : User
identityId string
return Blog.Common.Contracts.User

GetByUserName() public method

public GetByUserName ( string username ) : User
username string
return Blog.Common.Contracts.User

GetHeartBeat() public method

public GetHeartBeat ( ) : bool
return bool

GetUsers() public method

public GetUsers ( int threshold = 10, int skip = 10 ) : List
threshold int
skip int
return List

GetUsersByCommunity() public method

public GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
communityId int
threshold int
skip int
return List

GetUsersWithNoIdentityId() public method

public GetUsersWithNoIdentityId ( ) : List
return List

SearchUsers() public method

public SearchUsers ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
return List

Update() public method

public Update ( User user ) : User
user Blog.Common.Contracts.User
return Blog.Common.Contracts.User