예제 #1
0
 private void ImportSavePages(ICollection <PageBindingListWithCultures> Pages, int SiteID, int PageParentID)
 {
     foreach (var item in Pages)
     {
         item.SiteID       = SiteID;
         item.PageParentID = PageParentID;
         int _PageID = new PageBLL().Save(item, false);
         if (item.Items.Any())
         {
             ImportSavePages(item.Items, SiteID, _PageID);
         }
     }
 }
예제 #2
0
 private void ImportSavePages(ICollection<PageBindingListWithCultures> Pages, int SiteID, int PageParentID)
 {
     foreach (var item in Pages)
     {
         item.SiteID = SiteID;
         item.PageParentID = PageParentID;
         int _PageID = new PageBLL().Save(item,false);
         if (item.Items.Any())
             ImportSavePages(item.Items, SiteID, _PageID);
     }
 }