C# Class AuthorityManagement.Applications.UserServices.UserService

用户服务实现
Inheritance: IUserService
Afficher le fichier Open project: ZhaoRd/Zrd_0001_AuthorityManagement

Méthodes publiques

Méthode 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 méthode

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

Delete() public méthode

The delete.
public Delete ( System.Guid userid ) : void
userid System.Guid /// The userid. ///
Résultat void

GetAllUser() public méthode

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. ///
Résultat IEnumerable

GetUserById() public méthode

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

Update() public méthode

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

UserService() public méthode

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