public UserManageController(IUserService userService, IQuickAdminRepository <User> userRepository, CommonHelper commonHelper) { _userService = userService; _userRepository = userRepository; }
/// <summary> /// /// </summary> /// <param name="configuration"></param> /// <param name="jwtSetting">jwt认证配置</param> /// <param name="userRepository"></param> public AuthorizeController(IConfiguration configuration, IOptions <JwtSetting> jwtSetting, IQuickAdminRepository <User> userRepository) { _configuration = configuration; _jwtSettings = jwtSetting.Value; _userRepository = userRepository; }
public UserService(IConfiguration configuration, IHostingEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, QuickAdminDbContext dbContext, IQuickAdminRepository <User> userRepository) : base(configuration, hostingEnvironment, httpContextAccessor, dbContext) { _userRepository = userRepository; }