public IQueryable<Core.Objects.Property> BuildSearchQuery(List<SearchParameter> parameters, IQueryable<Core.Objects.Property> query) { var minimumPrice = parameters.MinimumPriceOrDefault(); if (minimumPrice.IsNotNull()) { var price = 0.0M; var result = decimal.TryParse(minimumPrice.ParameterValue, out price); if (result) return query.MinimumPrice(price); } return query; }