ads = ads.Where(x => (x.Amount - x.Price) / (x.Amount / 100) >= filter.Persent);
if x.Amount == 0 I have error \"Divide by zero error encountered
ads = ads.Where(x => x.Amount != 0 && (x.Amount - x.Price) / (x.Amount / 100) >= filter.Persent);