delete method added to serivce.