I have the following view where I have a list of articles registered in the database, there I have the evaluate button that redirects to another view where it is in another controller, I want to pass id of the selected article to another controller. Follow the project image
Viewactionactioncode
publicActionResultCreate([Bind(Include="AvaliacaoID,NotaArtigo,ComentarioRevisao")] AvaliarArtigo avaliarArtigo)
{
if (ModelState.IsValid)
{
db.AvaliarArtigos.Add(avaliarArtigo);
db.SaveChanges();
return RedirectToAction("Index", "Home");
}
return View(avaliarArtigo);
}