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; }
public void Return() { this.Borrower = null; this.patronid = null; this.due_date = null; this.status = (int)item_status.StatusEnum.In; }