var _rep = new LivroRepositorioCSV();
            var _routers = new Dictionary<string, string>
            {
                { "/", "Welcome to ASP.NET Core Web Site!" },
                { "/Livros/ParaLer", _rep.ParaLer.ToString() },
                { "/Livros/Lendo", _rep.Lendo.ToString() },
                { "/Livros/Lidos", _rep.Lidos.ToString() }
            };
            if (_routers.ContainsKey(context.Request.Path))
            {
                return context.Response.WriteAsync(_routers[context.Request.Path]);
            }
            //context.Response.StatusCode = 404; //Erro aqui
            return context.Response.WriteAsync("Page not found.");Quando tento acessar a url no navegador, exibe um erro no codigo de retorno da requisicao http.
 
            