public static async Task InsertDocTypesAsync() { await DocTypeTable.InsertDocType(CommandInsertModel.InsertDocType()); DocTypeContextList.Add(CommandModel.GetDocTypeContext()); return; }
public static async Task <IList <string> > GetDocTypesAsync() { IList <string> DocTypes = new List <string>(); DocTypes = await DocTypeTable.ReadDocTypeTable(CommandReadModel.ReadDocTable()); return(DocTypes); }