Exemple #1
0
 /// <summary>
 /// 得到所有的部门
 /// </summary>
 /// <returns></returns>
 public async Task <string[]> GetAllSections()
 {
     using (ISectionService sectionService = new SectionService())
     {
         return(await sectionService.GetAllOrder().Select(p => p.Name).ToArrayAsync());
     }
 }