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