Exemple #1
0
 public void AddBidding(Paper paper, BidEnum bidenum, User user)
 {
     bidRepo.Save(new Bid(user, bidenum, paper));
 }
Exemple #2
0
 public Bid(User usr, BidEnum bid, Paper paper)
 {
     this.User  = usr;
     this.BID   = bid;
     this.Paper = paper;
 }
Exemple #3
0
 public Bid()
 {
     this.User  = null;
     this.BID   = BidEnum.NULL;
     this.Paper = null;
 }
        public void AddBidding(Paper paper, string bidEnum, User currentUser)
        {
            BidEnum bide = (BidEnum)Enum.Parse(typeof(BidEnum), bidEnum);

            server.AddBidding(paper, bide, currentUser);
        }