public IActionResult MoveNext(string name, int id) { int nextId = id + 1; if (!_outputFiles.ExistsArtigo(name, nextId)) { return(RedirectToRoute("Document_Show", new { Name = name })); } return(RedirectToRoute("Articles_Default", new { Name = name, id = nextId })); }