Hi Fabiano,
You are trying to update a record with Id = 0, in other words, you're trying to update a record which does not exist.
In the CarrinhoUpdate action, you need to make sure the Carrinho.Id is filled in:

Since you know best the logic you want to implement, it should be easy for you to know make sure you fill the Carrinho.Id correctly.
Kind Regards,
João