Esempio n. 1
0
 public void IssueToMember(patron member)
 {
     this.Borrower = member;
     this.patronid = member.id;
     this.due_date = DateTime.Today.AddDays(BusinessRules.ItemRenewPeriodInDay);
     this.status   = (int)item_status.StatusEnum.Out;
 }
Esempio n. 2
0
 public void Return()
 {
     this.Borrower = null;
     this.patronid = null;
     this.due_date = null;
     this.status   = (int)item_status.StatusEnum.In;
 }