/** * Method delete. * * @param like LikeAlbum * @see es.udc.fi.dc.photoalbum.spring.LikeService#delete(LikeAlbum) */ @Override public void delete(LikeAlbum like) { Likefield l = like.getLike(); likeAlbumDao.delete(like); likeDao.delete(l); }
/** * Method delete. * * @param like LikeComment * @see es.udc.fi.dc.photoalbum.spring.LikeService#delete(LikeComment) */ @Override public void delete(LikeComment like) { Likefield l = like.getLike(); likeCommentDao.delete(like); likeDao.delete(l); }