Example #1
0
 public bool Equals(IRepresentative <T> x, IRepresentative <T> y)
 {
     return((x?.Represent(y) ?? false) || (y?.Represent(x) ?? false));
 }
Example #2
0
 public RepresentativeRESTController()
 {
     representativeService = new RepresentativeService();
 }
Example #3
0
 public int GetHashCode(IRepresentative <T> obj)
 {
     return(obj.GetHashCode());
 }