C# Класс Blog.Services.Implementation.UsersService

Наследование: BaseService, IUsersService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный метод

public Add ( User user ) : User
user Blog.Common.Contracts.User
Результат Blog.Common.Contracts.User

Get() публичный метод

public Get ( int userId ) : User
userId int
Результат Blog.Common.Contracts.User

GetByIdentityId() публичный метод

public GetByIdentityId ( string identityId ) : User
identityId string
Результат Blog.Common.Contracts.User

GetByUserName() публичный метод

public GetByUserName ( string username ) : User
username string
Результат Blog.Common.Contracts.User

GetUsers() публичный метод

public GetUsers ( int threshold = 10, int skip = 10 ) : List
threshold int
skip int
Результат List

GetUsersByCommunity() публичный метод

public GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
communityId int
threshold int
skip int
Результат List

GetUsersWithNoIdentityId() публичный метод

public GetUsersWithNoIdentityId ( ) : List
Результат List

SearchUsers() публичный метод

public SearchUsers ( string query, int threshold = 5, int skip = 10 ) : List
query string
threshold int
skip int
Результат List

Update() публичный метод

public Update ( User user ) : User
user Blog.Common.Contracts.User
Результат Blog.Common.Contracts.User

UsersService() публичный метод

public UsersService ( IUsersLogic usersLogic ) : System.Collections.Generic
usersLogic IUsersLogic
Результат System.Collections.Generic