My Controller View
foreach (var dbItem in db1.Ranges.Where(x => x.DeviceId == Id).OrderByDescending(x => x.DeviceTime))
{
list.Add((double)dbItem.Val1);
}
My Database rows --> Database Table
As you can see there are alot of rows in the DB, but when i run it i only get 1 row.