예제 #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);
            }
        }
예제 #2
0
 public static void AddPartnerSession(string key, MdlPartner value)
 {
     HttpContext.Current.Session[key] = value;
 }