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"
Problem :
I want to get the Pk when i call the method Create
- public IActionResult Create(int someId)
- {
- //here i want to get the Pk
- return View();
- }

Sachin SinghRank #66 · 26.2K reputationPosted Oct 30, 2020, 4:08 AM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Oct 30, 2020, 5:59 AM EDT
saad Benmakhlouf49 reputationPosted Oct 30, 2020, 4:17 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 30, 2020, 4:47 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 30, 2020, 2:50 AM EDT