コード例 #1
0
 public UsuarioController(IUsuarioRepositorio repositorio, UsuarioHandler handler, IOptions <SettingsAPI> options, TokenJWTService tokenService)
 {
     _repositorio  = repositorio;
     _handler      = handler;
     _ChaveAPI     = options.Value.ChaveAPI;
     _tokenService = tokenService;
 }
コード例 #2
0
 public UsuarioController(IUsuarioRepository repository, IUsuarioHandler handler, TokenJWTService tokenJWTService)
 {
     _repository      = repository;
     _handler         = handler;
     _tokenJWTService = tokenJWTService;
 }