Example #1
0
        public void AddApproval(User user, bool gaveApproval)
        {
            var approval = new RoundApproval {
                Round = this, User = user, GaveApproval = gaveApproval
            };

            Approvals.Add(approval);
        }
Example #2
0
 public void RemoveApproval(RoundApproval approval)
 {
     Approvals.Remove(approval);
 }
Example #3
0
 public void AddApproval(RoundApproval approval)
 {
     approval.Round = this;
     Approvals.Add(approval);
 }