Пример #1
0
        public bool Insert( int DocumentId,  int LanguageId,  string Title,  string Description,  string ConfirmationText)
        {
            FormDocumentLanguageDAC formdocumentlanguageComponent = new FormDocumentLanguageDAC();
            int FormDocumentLanguageId = 0;

            return formdocumentlanguageComponent.InsertNewFormDocumentLanguage( ref FormDocumentLanguageId,  DocumentId,  LanguageId,  Title,  Description,  ConfirmationText);
        }
Пример #2
0
 public bool Insert(FormDocumentLanguage formdocumentlanguage)
 {
     int autonumber = 0;
     FormDocumentLanguageDAC formdocumentlanguageComponent = new FormDocumentLanguageDAC();
     bool endedSuccessfuly = formdocumentlanguageComponent.InsertNewFormDocumentLanguage( ref autonumber,  formdocumentlanguage.DocumentId,  formdocumentlanguage.LanguageId,  formdocumentlanguage.Title,  formdocumentlanguage.Description,  formdocumentlanguage.ConfirmationText);
     if(endedSuccessfuly)
     {
         formdocumentlanguage.FormDocumentLanguageId = autonumber;
     }
     return endedSuccessfuly;
 }