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)); } }
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); } }