Esempio n. 1
0
        public static async Task InsertDocTypesAsync()
        {
            await DocTypeTable.InsertDocType(CommandInsertModel.InsertDocType());

            DocTypeContextList.Add(CommandModel.GetDocTypeContext());
            return;
        }
Esempio n. 2
0
        public static async Task <IList <string> > GetDocTypesAsync()
        {
            IList <string> DocTypes = new List <string>();

            DocTypes = await DocTypeTable.ReadDocTypeTable(CommandReadModel.ReadDocTable());

            return(DocTypes);
        }