示例#1
0
        public static void LinkWebsiteNew()
        {
            Guid        subId = SessionHelper.GetSession(SessionKey.SubDomain) == string.Empty ? Guid.Empty : new Guid(SessionHelper.GetSession(SessionKey.SubDomain));
            LinkWebsite item  = new LinkWebsite();

            item.Id             = Guid.NewGuid();
            item.SubDomainId    = subId;
            PSCDialog.DataShare = new LinkWebsiteArgs(item, false);
        }
示例#2
0
        public static void LinkWebsiteAdd()
        {
            LinkWebsite question = ((LinkWebsiteArgs)PSCDialog.DataShare).LinkWebsite;

            LinkWebsiteList.AddDB(question);
        }