public double CalculateMemberShipCost(int memberId)
        {
            double        membershipCost = 0;
            LibraryMember member         = _store.GetMember(memberId);

            membershipCost = 10 + member.MaximumBooks * 0.5;
            return(membershipCost);
        }
示例#2
0
 public void UpdateMember(int memberId, LibraryMember member)
 {
     throw new NotImplementedException();
 }
示例#3
0
 public void AddMember(LibraryMember member)
 {
     throw new NotImplementedException();
 }