コード例 #1
0
 public UserController(IUserBL userBL, IConfiguration config, IWalletBL walletBL, IHttpContextAccessor context)
 {
     _tokenService = new TokenService(context);
     _userBL       = userBL;
     _config       = config;
     _walletBL     = walletBL;
 }
コード例 #2
0
 public UserBL(IUserRepository repository, IMapper mapper, IWalletBL walletBL)
 {
     _repository = repository;
     _mapper     = mapper;
     _walletBL   = walletBL;
 }
コード例 #3
0
 public WalletController(IUserBL userBL, IWalletBL walletBL, IHttpContextAccessor contextAccessor)
 {
     _tokenService = new TokenService(contextAccessor);
     _walletBL     = walletBL;
     _userBL       = userBL;
 }