Hello Team,
in my order page, I'm able to save the data into the databse correctly but when i tried to pass the OrderNuMber and OrderId to the receipt view page and print the receipt after saving order I keep getting this error, any help will be appreciated.
The parameters dictionary contains a null entry for parameter 'orderId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult PrintSalesReceipts(Int32)' in 'SmartRestaurantManagement.Controllers.HomeController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters