samedi 25 avril 2015

Deleting database records MVC


I've built a MVC 'framework' for learning purposes, and I'm struggling with this problem:

I am working on a CRUD application and I don't know how I should delete the records of my database, right now I'am doing it thru URL.

http://ift.tt/1GuzK8c that is how I delete a record of a database. But I don't really like this way, because anyone could unintentionally delete database records or intentionally do it, so my question is, how should I implement this feature?

Thank you in advance!


Aucun commentaire:

Enregistrer un commentaire