estou tendo um problema de codigo
codigo inteiro
namespace web { public class Startup { private object relatorio;
// This method gets called by the runtime. Use this method to add services to the container.
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
public void ConfigureServices(IServiceCollection services)
{
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
var livros = new List<Livro>();
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
Catagolo catagolo = new Catagolo();
app.Run(async (context) =>
{
await relatorio.Imprimir(context);
});
}
}
}
a linha que esta dando erro e 35 await relatorio.Imprimir(context);