public static MdlFirm GetOrgDocIdSession(string key) { MdlFirm model = null; if (HttpContext.Current.Session[key] != null) { model = (HttpContext.Current.Session[key]) as MdlFirm; return(model); } else { return(model); } }
public static void AddSession(string key, MdlFirm value) { HttpContext.Current.Session[key] = value; }