public UserController( IWorkContext workContext, SysManageSecurityConfig config, DESEncrypt desEncrypt, IUserService <UserEntity> userService, IRoleService <RoleEntity> roleService) : base(workContext) { this.config = config; this.desEncrypt = desEncrypt; this.userService = userService; this.roleService = roleService; }
public LogService(SysManageSecurityConfig config, ILogRepository <LogEntity> logRepository, IHttpContextAccessor httpContextAccessor, IWebHelper webHelper, Messages messages) : base(logRepository) { this.config = config; this.logRepository = logRepository; this.httpContextAccessor = httpContextAccessor; this.webHelper = webHelper; this.messages = messages; }
public UserService(SysManageSecurityConfig config, IUserRepository <UserEntity> userRepository, IRoleUserService <Role2UserEntity> roleUserService, ILogService <LogEntity> logService, IWebHelper webHelper, Messages messages) : base(userRepository) { this.config = config; this.userRepository = userRepository; this.roleUserService = roleUserService; this.logService = logService; this.webHelper = webHelper; this.messages = messages; }