public ActionResult GridData(int start = 0, int itemsPerPage = 20, string orderBy = "ID", bool desc = false)
{
Response.AppendHeader("X-Total-Row-Count", db.Stations.Count(s => s.Event.ID == eventID).ToString());
ObjectQuery<Station> stations = (db as IObjectContextAdapter).ObjectContext.CreateObjectSet<Station>();
stations = stations.OrderBy("it." + orderBy + (desc ? " desc" : ""));
return PartialView(stations.Where(s => s.Event.ID == eventID).Skip(start).Take(itemsPerPage));
}