Beispiel #1
0
 private bool IsCancellationPeriodOver()
 {
     return((Customer.IsGoldCustomer() && LessThan(24)) ||
            !Customer.IsGoldCustomer() && LessThan(48));
 }
 public bool IsCancellatioPeriodOver() =>
 (Customer.IsGoldCustomer() && LessThan(maxHours: 24)) || !Customer.IsGoldCustomer() && LessThan(maxHours: 48);
 private bool IsCancellationPeriodOver()
 {
     return((Customer.IsGoldCustomer() && LessThen(maxHours: 24)) ||
            (!Customer.IsGoldCustomer() && LessThen(maxHours: 48)));
 }
Beispiel #4
0
 private bool IsCancellationPeriodOver() =>
 Customer.IsGoldCustomer() && LessThan(24) ||
 !Customer.IsGoldCustomer() && LessThan(48);
        private bool IsCancellationPeriodOver()
        {
            var maxHours = Customer.IsGoldCustomer() ? 24 : 48;

            return(LessThan(maxHours));
        }