public SegurancaController(IUsuarioService usuarioService, ICadastroService cadastroService, ISegurancaService segurancaService, IAgendaService service) : base(usuarioService)
 {
     this._usuarioService   = usuarioService;
     this._segurancaService = segurancaService;
     _service         = service;
     _cadastroService = cadastroService;
 }
 public SegurancaController(IUsuarioService usuarioService, ISegurancaService segurancaService)
 {
     _usuarioService   = usuarioService;
     _segurancaService = segurancaService;
 }
 public ProdutoController(IProdutoService produtoService, ISegurancaService segurancaService)
 {
     _produtoService   = produtoService;
     _segurancaService = segurancaService;
 }
Exemple #4
0
 public static bool ValidarToken(ISegurancaService _segurancaService, HttpRequest httpRequest)
 {
     return(httpRequest.Headers != null && _segurancaService.ValidarToken(httpRequest.Headers["app_token"]));
 }
Exemple #5
0
 public SecurityController(IContextIronMountain imContext, IConfiguration configurationService, ISegurancaService segurancaService)
 {
     this.imContext            = imContext;
     this.segurancaService     = segurancaService;
     this.configurationService = configurationService;
 }
Exemple #6
0
 public SegurancaController(ISegurancaService segurancaService)
 {
     _segurancaService = segurancaService;
 }