public ActionResult SaveAllValueInSession(string type) { switch (type) { case "CommonOU": foreach (var item in DDService.GetOUCommon().ToList()) { Session["FiltersModel"] = ReportFilterManager.AddValuesInSession((int)item.POUCommonID, item.OUCommonName, type, Session["FiltersModel"] as VMSelectedFilter); } break; } return(Json("OK")); }
public ActionResult SaveValueInSession(int?id, string name, string type) { Session["FiltersModel"] = ReportFilterManager.AddValuesInSession((int)id, name, type, Session["FiltersModel"] as VMSelectedFilter); return(Json("OK")); }