Added a delete view function to the CoreDao