public UserService(IValidationDictionary validationDictionary, IUserRespository respository, ICategoryRespository categoryRespository, IEventRespository eventRespository, INotificationRespository notificationRespository) { _respository = respository; _categoryRespository = categoryRespository; _validationDictionary = validationDictionary; _eventRespository = eventRespository; _notificationRespository = notificationRespository; }
/// <summary> /// 构造 /// </summary> /// <param name="userRepository">用户仓储</param> public LoginController(IUserRespository userRepository) { //用户仓储 _userRepository = userRepository; }
public UserService(IUserRespository userRespository, IOptions <AuthenticationSettings> authenticationSettings) { _userRespository = userRespository; _authenticationSettings = authenticationSettings.Value; }
public UserQueryHandler(IUserRespository userRepository, IMapper mapper, NotificationContext notificationContext) : base(mapper, notificationContext) { _userRepository = userRepository; }
public ElectionController(IUserRespository user, IElectionRespository election) { _user = user; _election = election; }
public UserAppService(IUserRespository userRespository, IMapper mapper) { _userRespository = userRespository; _mapper = mapper; }
public CustomUserAppService() { _userRepository = new UserRepository(); }
public UserService(IUserRespository user) { _user = user; }
public AdministratorController(IUserRespository userRespository, ILogRespository log) { user = userRespository; logs = log; }
public BaseService(DbContextFactory contextFactory) { _userRepo = new UserRepository(contextFactory); _userExperienceRepository = new UserExperienceRepository(contextFactory); _hardCodeRepository = new HardCodeRepository(contextFactory); }
public UserController(IUserRespository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }
public UserService() { _userRespository = _unitOfWork.UserRespository; _repository = _userRespository; }
public ExamBackController(IUserRespository userRespository) { user = userRespository; }
/// <summary> /// 构造 /// </summary> /// <param name="permissionRepository">权限</param> /// <param name="userRepository">用户</param> /// <param name="roleRespository">角色</param> public PermissionController(IPermissionRepository permissionRepository, IUserRespository userRepository, IRoleRespository roleRespository) { _permissionRepository = permissionRepository; _userRepository = userRepository; _roleRespository = roleRespository; }
public UserManager(IUserRespository repository) { this.repository = repository ?? throw new ArgumentException("Cannot init UserManager with null repository.", "repository"); }
public UserService(IUserRespository userRespository) { _userRespository = userRespository; }
public UserService(IUserRespository userRespository, ITokenHelper tokenHelper) { _userRespository = userRespository; _tokenHelper = tokenHelper; }
public UserController(IUserRespository repo) { respository = repo; }