Prework for delete function (creation of Dao method to handle)