Update of delete() function.
Merge branch 'master' of https://github.com/Diana22/ProjectMVC