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