Hii
I have Replaced the dependency injection According to you still i'm having the below issue while going to add item to cart
Failed to load resource: the server responded with a status of 500 ()
:4439/AddProductFromProductDetailsPageToCartAjax
Any help would be highly appriciated!!!!.