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); }
public static void LinkWebsiteAdd() { LinkWebsite question = ((LinkWebsiteArgs)PSCDialog.DataShare).LinkWebsite; LinkWebsiteList.AddDB(question); }