Esempio n. 1
0
 private bool Equals(DonationUnder80G other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.Id == Id);
 }
Esempio n. 2
0
 public void AddDonation(DonationUnder80G donationUnder80G)
 {
     Donations.Add(donationUnder80G);
 }
Esempio n. 3
0
 public void AddDonation(DonationUnder80G donationUnder80G)
 {
     Donations.Add(donationUnder80G);
 }
Esempio n. 4
0
 private bool Equals(DonationUnder80G other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Id == Id;
 }