C# Class Blog.Services.Implementation.UsersService

Inheritance: BaseService, IUsersService
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
Add ( User user ) : User
Get ( int userId ) : User
GetByIdentityId ( string identityId ) : User
GetByUserName ( string username ) : User
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
UsersService ( IUsersLogic usersLogic ) : System.Collections.Generic

Method Details

Add() public méthode

public Add ( User user ) : User
user Blog.Common.Contracts.User
Résultat Blog.Common.Contracts.User

Get() public méthode

public Get ( int userId ) : User
userId int
Résultat Blog.Common.Contracts.User

GetByIdentityId() public méthode

public GetByIdentityId ( string identityId ) : User
identityId string
Résultat Blog.Common.Contracts.User

GetByUserName() public méthode

public GetByUserName ( string username ) : User
username string
Résultat Blog.Common.Contracts.User

GetUsers() public méthode

public GetUsers ( int threshold = 10, int skip = 10 ) : List
threshold int
skip int
Résultat List

GetUsersByCommunity() public méthode

public GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
communityId int
threshold int
skip int
Résultat List

GetUsersWithNoIdentityId() public méthode

public GetUsersWithNoIdentityId ( ) : List
Résultat List

SearchUsers() public méthode

public SearchUsers ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
Résultat List

Update() public méthode

public Update ( User user ) : User
user Blog.Common.Contracts.User
Résultat Blog.Common.Contracts.User

UsersService() public méthode

public UsersService ( IUsersLogic usersLogic ) : System.Collections.Generic
usersLogic IUsersLogic
Résultat System.Collections.Generic