C# Class BeiDream.Demo.Service.Users.UserService

用户应用服务
Inheritance: ServiceBase, IUserService
Afficher le fichier Open project: BeiMeng/BeiDream

Méthodes publiques

Méthode Description
AddorUpdate ( UserDto dto ) : void
Delete ( System.Guid id ) : void
Login ( LoginInfoInput loginInfoInput ) : UserDto
SetRoles ( System.Guid userId, List roleIds ) : void
UserService ( IUserDomainService userDomainService, IUserRepository userRepository, IProductRepository productRepository ) : System

Private Methods

Méthode Description
Find ( System.Guid id ) : UserDto
GetQueryConditions ( IQueryable queryable, BeiDream.Demo.Domain.Queries.UserQuery query ) : IQueryable

构造前台传递的查询条件

Query ( BeiDream.Demo.Domain.Queries.UserQuery query ) : PagerList

Method Details

AddorUpdate() public méthode

public AddorUpdate ( UserDto dto ) : void
dto BeiDream.Demo.Service.Users.Dtos.UserDto
Résultat void

Delete() public méthode

public Delete ( System.Guid id ) : void
id System.Guid
Résultat void

Login() public méthode

public Login ( LoginInfoInput loginInfoInput ) : UserDto
loginInfoInput LoginInfoInput
Résultat BeiDream.Demo.Service.Users.Dtos.UserDto

SetRoles() public méthode

public SetRoles ( System.Guid userId, List roleIds ) : void
userId System.Guid
roleIds List
Résultat void

UserService() public méthode

public UserService ( IUserDomainService userDomainService, IUserRepository userRepository, IProductRepository productRepository ) : System
userDomainService IUserDomainService
userRepository IUserRepository
productRepository IProductRepository
Résultat System