Hi,
I use .Net Core 3.1
From Controller "Order" View "Index" I want to create a button
this button redirect me to an other controller "Invoice" View "Create"
- <a href="/Invoices/Create/@item.Pk" class="Button">Create New Invoice</a>
Problem :
I want to get the Pk when i call the method Create
- public IActionResult Create(int someId)
- {
-
- return View();
- }
-