public UserController(IRepo_User user_service, IOptions <Models_AppSettings> settings, JWT jwt_services, IHttpContextAccessor httpContextAccessor, IActionContextAccessor accessor) { _user_service = user_service; _settings = settings; _jwt_services = jwt_services; _httpContextAccessor = httpContextAccessor; _accessor = accessor; }
public CustomAuthenticationHandler( IOptionsMonitor <AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IRepo_User user_service ) : base(options, logger, encoder, clock) { _user_service = user_service; }
public AdminController(IRepo_Admin admin_service, IRepo_User user_service, IRepo_Bank bank_service, IRepo_Topup topup_service, IRepo_Wallet wallet_service, IRepo_Withdraw withdraw_service, IRepo_Game game_services, IRepo_ExchangeRate exchange_rate_service, IRepo_Settings settings_service, IRepo_Hierarchy hierarchy_service, IRepo_Winlose winlose_service, IRepo_Announcement announcement_service, IOptions <Models_AppSettings> settings, JWT jwt_services, IHttpContextAccessor httpContextAccessor, IActionContextAccessor accessor, IWebHostEnvironment hostEnvironment) { _admin_service = admin_service; _user_service = user_service; _bank_service = bank_service; _topup_service = topup_service; _wallet_service = wallet_service; _withdraw_service = withdraw_service; _game_service = game_services; _exchange_rate_service = exchange_rate_service; _settings_service = settings_service; _hierarchy_service = hierarchy_service; _jwt_services = jwt_services; _winlose_service = winlose_service; _announcement_service = announcement_service; _settings = settings; _httpContextAccessor = httpContextAccessor; _accessor = accessor; webHostEnvironment = hostEnvironment; }