amended the delete action to use auto mapper.