Ejemplo n.º 1
0
 public bool Insert( ref int MasterPageTemplateId,  string Name,  string Path,  string ClassName,  string MasterPageContent)
 {
     MasterPageTemplateDAC masterpagetemplateComponent = new MasterPageTemplateDAC();
     return masterpagetemplateComponent.InsertNewMasterPageTemplate( ref MasterPageTemplateId,  Name,  Path,  ClassName,  MasterPageContent);
 }
Ejemplo n.º 2
0
 public bool Insert(MasterPageTemplate masterpagetemplate)
 {
     int autonumber = 0;
     MasterPageTemplateDAC masterpagetemplateComponent = new MasterPageTemplateDAC();
     bool endedSuccessfuly = masterpagetemplateComponent.InsertNewMasterPageTemplate( ref autonumber,  masterpagetemplate.Name,  masterpagetemplate.Path,  masterpagetemplate.ClassName,  masterpagetemplate.MasterPageContent);
     if(endedSuccessfuly)
     {
         masterpagetemplate.MasterPageTemplateId = autonumber;
     }
     return endedSuccessfuly;
 }