Example #1
0
        public bool Insert( int HomePageID,  int SectionID,  int OrderNumber,  int ItemsNumber,  int ItemsPerPage,  bool IsActive)
        {
            ModuleSectionDAC modulesectionComponent = new ModuleSectionDAC();
            int ModuleSectionID = 0;

            return modulesectionComponent.InsertNewModuleSection( ref ModuleSectionID,  HomePageID,  SectionID,  OrderNumber,  ItemsNumber,  ItemsPerPage,  IsActive);
        }
Example #2
0
 public bool Insert(ModuleSection modulesection)
 {
     int autonumber = 0;
     ModuleSectionDAC modulesectionComponent = new ModuleSectionDAC();
     bool endedSuccessfuly = modulesectionComponent.InsertNewModuleSection( ref autonumber,  modulesection.HomePageID,  modulesection.SectionID,  modulesection.OrderNumber,  modulesection.ItemsNumber,  modulesection.ItemsPerPage,  modulesection.IsActive);
     if(endedSuccessfuly)
     {
         modulesection.ModuleSectionID = autonumber;
     }
     return endedSuccessfuly;
 }