Ejemplo n.º 1
0
 public void DeleteBid(BidEntity entity)
 {
     try
     {
         _bidRepository.Delete(entity.ToDalBid());
         _unitOfWork.Commit();
     }
     catch (Exception exception)
     {
         Log.LogError(exception);
     }
 }
 public void AddBid(BidEntity bid)
 {
     try
     {
         _bidRepository.Create(bid.ToDalBid());
         _uow.Commit();
     }
     catch (DalBidTooLowException)
     {
         throw new BllBidTooLowException();
     }
 }
 private void DeleteEntity(BidEntity bid)
 {
     _bidService.DeleteBid(bid);
 }
 public void DeleteBid(BidEntity bet)
 {
     _bidRepository.Delete(bet.ToDalBid());
     _uow.Commit();
 }