コード例 #1
0
 public async Task <IEnumerable <xcuda_Transit> > Searchxcuda_Transit(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new xcuda_TransitService())
     {
         return(await ctx.Getxcuda_TransitByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
コード例 #2
0
 public async Task Savexcuda_Transit(xcuda_Transit i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new xcuda_TransitService())
     {
         await ctx.Updatexcuda_Transit(i).ConfigureAwait(false);
     }
 }