Пример #1
0
 public bool DeleteBidDetail(BidDetail bidDetail)
 {
     if (bidDetail == null) return false;
     _unitOfWork.BidDetailRepository.Delete(bidDetail);
     _unitOfWork.Save();
     return true;
 }
Пример #2
0
 public bool EditBidDetail(BidDetail bidDetail)
 {
     _unitOfWork.BidDetailRepository.Edit(bidDetail);
     _unitOfWork.Save();
     return true;
 }
Пример #3
0
 public bool AddBidDetail(BidDetail bidDetail)
 {
     _unitOfWork.BidDetailRepository.Add(bidDetail);
     _unitOfWork.Save();
     return true;
 }