public PropertyQueryResultForPeriod(int period, List<PropertyQueryResultValue> values) { Period = period; Values = values; ValueToUse = Values.Where(v => v.Gender.ToLower() == "t").FirstOrDefault() ?? Values.FirstOrDefault(); }
public PropertyQueryResultForPeriod(int period, List <PropertyQueryResultValue> values) { Period = period; Values = values; ValueToUse = Values.Where(v => v.Gender.ToLower() == "t").FirstOrDefault() ?? Values.FirstOrDefault(); }