public JsonResult setChecked(long[] checkedIDs)
{
if (checkedIDs != null)
{
List<long> Ids = new List<long>();
foreach (long l in checkedIDs)
{
Ids.Add(Convert.ToInt64(l));
}
Session["checked"] = Ids;
}
else
Session["checked"] = null;
return Json(true, JsonRequestBehavior.AllowGet);
}