C
C#2y ago
EliasGPS

✅ ERROR: An exception was thrown while attempting to evaluate a LINQ query parameter expression

when a user clicks in this button. He will be go to the AddToCart() method in my ShoppingCartController.
7 Replies
EliasGPS
EliasGPSOP2y ago
that controller looks as follows
EliasGPS
EliasGPSOP2y ago
to i'm only intrested in the AddToCart() method than i'm calling the AddToCart method in my shoppingcart and that code looks as follows:
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
this is my constructor of the ShoppingCart:
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
i foudn something it always pass 0 has parameter from my view to my AddToCart action it worked solved /solved
Want results from more Discord servers?
Add your server