Ejemplo n.º 1
0
        public static MdlPartner GetOrgIdSessionPartner(string key)
        {
            MdlPartner model = null;

            if (HttpContext.Current.Session[key] != null)
            {
                model = (HttpContext.Current.Session[key]) as MdlPartner;
                return(model);
            }
            else
            {
                return(model);
            }
        }
Ejemplo n.º 2
0
 public static void AddPartnerSession(string key, MdlPartner value)
 {
     HttpContext.Current.Session[key] = value;
 }