I am updating a quantity in my cart, but it is throwing a Sequence has no elements\' exception.
And I don\'t know what that even means. At first I thought that maybe
First() is causing this if your select returns 0 rows. You either have to catch that exception, or use FirstOrDefault() which will return null in case of no elements.
First()
FirstOrDefault()