Пример #1
0
        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);
            }
        }
Пример #2
0
 public static void AddSession(string key, MdlFirm value)
 {
     HttpContext.Current.Session[key] = value;
 }