public bool deleteWish(int Id) { if (Id != null) { wishListManager.Delete(wishListManager.Get(Id)); return(true); } return(false); }
public void DeleteWishItem(int id) { var favourite = repoWishList.Get(id); repoWishList.Delete(favourite); }
public void Delete(long?id) { _wishListRepository.Delete(id); }