public void DeleteBid(BidEntity entity) { try { _bidRepository.Delete(entity.ToDalBid()); _unitOfWork.Commit(); } catch (Exception exception) { Log.LogError(exception); } }
public void DeleteBid(BidEntity bet) { _bidRepository.Delete(bet.ToDalBid()); _uow.Commit(); }
public void DeleteBid(BidEntity bid) { bidRepository.Delete(bid.ToDalBid()); uow.Commit(); }
public void RemoveItem(int id) { Bid bid = _bidRepository.GetById(id); _bidRepository.Delete(bid); }