C# Класс AuthorityManagement.Applications.UserServices.UserService

用户服务实现
Наследование: IUserService
Показать файл Открыть проект

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

Метод Описание
Add ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void

The add.

Delete ( System.Guid userid ) : void

The delete.

GetAllUser ( int pageIndex, int pageSize, int &total ) : IEnumerable

The get all user.

GetUserById ( System.Guid userid ) : AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto

The get user by id.

Update ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void

The update.

UserService ( IUserRepository userRepository ) : System

Initializes a new instance of the UserService class.

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

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

The add.
public Add ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void
userInput AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto /// The user input. ///
Результат void

Delete() публичный Метод

The delete.
public Delete ( System.Guid userid ) : void
userid System.Guid /// The userid. ///
Результат void

GetAllUser() публичный Метод

The get all user.
///
public GetAllUser ( int pageIndex, int pageSize, int &total ) : IEnumerable
pageIndex int /// The page index. ///
pageSize int /// The page size. ///
total int /// The total. ///
Результат IEnumerable

GetUserById() публичный Метод

The get user by id.
public GetUserById ( System.Guid userid ) : AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto
userid System.Guid /// The userid. ///
Результат AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto

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

The update.
public Update ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void
userInput AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto /// The user input. ///
Результат void

UserService() публичный Метод

Initializes a new instance of the UserService class.
public UserService ( IUserRepository userRepository ) : System
userRepository IUserRepository /// The user repository. ///
Результат System