public TokenController(IConfiguration configuration, P2HelpContext context) { // injeta o configuration para pegar a chave definida me appsetings _configuration = configuration; // injeta o context para conseguir acessar a model usuario e verificar usuario e senha _context = context; }
public CepController(P2HelpContext context) { _context = context; }
public CategoriasWebController(P2HelpContext context) { _context = context; }
public UsuariosController(P2HelpContext context) { _context = context; }
public MunicipiosController(P2HelpContext context) { _context = context; }
public SistemasController(P2HelpContext context) { _context = context; }