public async Task <IEnumerable <EX9AsycudaSalesAllocations> > SearchEX9AsycudaSalesAllocations(List <string> lst, List <string> includeLst = null) { using (var ctx = new EX9AsycudaSalesAllocationsService()) { return(await ctx.GetEX9AsycudaSalesAllocationsByExpressionLst(lst, includeLst).ConfigureAwait(false)); } }
public async Task SaveEX9AsycudaSalesAllocations(EX9AsycudaSalesAllocations i) { if (i == null) { return; } using (var ctx = new EX9AsycudaSalesAllocationsService()) { await ctx.UpdateEX9AsycudaSalesAllocations(i).ConfigureAwait(false); } }