Example #1
0
 public async Task DeleteById(int id)
 {
     await Task.Run(() =>
     {
         IUnitOfWork uow          = this._uowProvider.Get();
         IWishlistRepository repo = this._repoProvider.Get(uow);
         repo.DeleteById(id);
         uow.Dispose();
     });
 }
 public bool DeleteById(int wishlistId)
 {
     return(_wishlistRepository.DeleteById(wishlistId));
 }