Esempio n. 1
0
 public bool Equals(FishDiet other)
 {
     if (other != null)
     {
         return(this.Identity.Equals(other.Identity));
     }
     return(false);
 }
Esempio n. 2
0
 public bool EqualFish(FishDiet item)
 {
     if (item != null)
     {
         return(this.fishId.Equals(item.fishId));
     }
     return(false);
 }