in a visual studio multi project solution in debug mode after I clicked on delete button to see its working or not, I forgot to continue debug and clicked to delete another Item from the cart. now the program receives error that cart is null and it is stopped working.
what should I do?
[[First error after starting the program](https://i.sstatic.net/fz5Lx2T6.png)](https://i.sstatic.net/BHsgaEGz.png)
I tried to add the data to the cart throw API swagger, its added but still getting the error that the cart is null in the services. tried to add to cart from home page of the application but after adding it says the same problem
AMIRHOSSEIN OVEISSI is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.