public bool deleteWish(int Id)
 {
     if (Id != null)
     {
         wishListManager.Delete(wishListManager.Get(Id));
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
        public void DeleteWishItem(int id)
        {
            var favourite = repoWishList.Get(id);

            repoWishList.Delete(favourite);
        }
Esempio n. 3
0
 public void Delete(long?id)
 {
     _wishListRepository.Delete(id);
 }