Example #1
0
 private bool IsExcluded(PriceBreakdown pricePart, int[] excludedServicesID)
 {
     return(excludedServicesID != null && excludedServicesID.Any(id => pricePart.IsLinkedToService(id)));
 }
Example #2
0
 private bool IsExcluded(PriceBreakdown pricePart, IEnumerable <int> excludedServicesID)
 {
     return(excludedServicesID.Any(id => pricePart.IsLinkedToService(id)));
 }