public async Task <IActionResult> OnGetAsync(string id) { var t = await _empresaApp.GetCnpjAsync(id); Input = t; return(Page()); }
public async Task <JsonResult> OnGetDetalheEmpresa(string id) { var t = await _empresaApp.GetCnpjAsync(id); return(new JsonResult(t)); }