public bool AreGeolocatedCountriesTheSame(TrafficExchangeAdvert compare) { if (this.GeolocatedCountries == compare.GeolocatedCountries) { return(true); } return(false); }
public static Money CalculateNormalMemberEarningsTE(Member User, TrafficExchangeAdvert Ad) { if (AppSettings.TrafficExchange.CreditBasedOnDurationEnabled) { return(calculateExtendedEarnings(User.Membership.TrafficExchangeClickEarnings, Ad.DisplayTimeSeconds)); } else { return(User.Membership.TrafficExchangeClickEarnings); } }