//取最小設置金額的列
var minList = LsList.OrderBy(n=>n.Price).First(); //取最小設置金額的值
var minValue = LsList.Select(n => n.Price).ToList().Min();var min= context.Fit_Detail.OrderBy(m=>m.Price).FirstOrDefault(m => m.Gid == item.Gid);