示例#1
0
 public async Task <IEnumerable <xcuda_Principal> > Searchxcuda_Principal(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new xcuda_PrincipalService())
     {
         return(await ctx.Getxcuda_PrincipalByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
示例#2
0
 public async Task Savexcuda_Principal(xcuda_Principal i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new xcuda_PrincipalService())
     {
         await ctx.Updatexcuda_Principal(i).ConfigureAwait(false);
     }
 }