public MainWindow() { InitializeComponent(); _leitorCSV = new LeitorCSV(); _leitorJSON = new LeitorJSON(); _seloCtrl = new SeloController(@"https://cidadao.portalseloam.com.br/portal-selo/selos/consulta"); }
public SeloControllerTests() { _seloController = new SeloController(_apiUrl); _leitorJSON = new LeitorJSON(); _caminhoJson = Path.Combine(Environment.CurrentDirectory, "Controllers", "Resources", "selo-certidao.json"); _json = File.ReadAllText(_caminhoJson); _jsonDynamic = DeserializarArquivoJson(); _apiUrl = @"https://cidadao.portalseloam.com.br/portal-selo/selos/consulta"; }