示例#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();
     }
 }
 public void DeleteBid(BidEntity bet)
 {
     _bidRepository.Delete(bet.ToDalBid());
     _uow.Commit();
 }