private bool Equals(DonationUnder80G other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(other.Id == Id); }
public void AddDonation(DonationUnder80G donationUnder80G) { Donations.Add(donationUnder80G); }
private bool Equals(DonationUnder80G other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Id == Id; }