C# Class AuthorityManagement.Applications.UserServices.UserService

用户服务实现
Inheritance: IUserService
Mostra file Open project: ZhaoRd/Zrd_0001_AuthorityManagement

Public Methods

Method Description
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.

Method Details

Add() public method

The add.
public Add ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void
userInput AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto /// The user input. ///
return void

Delete() public method

The delete.
public Delete ( System.Guid userid ) : void
userid System.Guid /// The userid. ///
return void

GetAllUser() public method

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. ///
return IEnumerable

GetUserById() public method

The get user by id.
public GetUserById ( System.Guid userid ) : AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto
userid System.Guid /// The userid. ///
return AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto

Update() public method

The update.
public Update ( AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto userInput ) : void
userInput AuthorityManagement.Presentations.UserServices.Dtos.EditUserInputDto /// The user input. ///
return void

UserService() public method

Initializes a new instance of the UserService class.
public UserService ( IUserRepository userRepository ) : System
userRepository IUserRepository /// The user repository. ///
return System