Does this make sense? |
So I wanted to add a delete button which will delete the card div from my MVC view as per attached screenshot. Gemini suggested that a dedicated method shall be added to the controller class (to just delete the card view). It also suggested that I would add the button part in the view like this
For your reference more codes are here https://pastebin.com/anCaF4X3
Could you kindly point me in the right direction? I am not sure if Gemini suggested an optimal way to achieve what I wanted.
For your reference more codes are here https://pastebin.com/anCaF4X3
Could you kindly point me in the right direction? I am not sure if Gemini suggested an optimal way to achieve what I wanted.

Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.