public async Task <IEnumerable <xBondAllocations> > SearchxBondAllocations(List <string> lst, List <string> includeLst = null) { using (var ctx = new xBondAllocationsService()) { return(await ctx.GetxBondAllocationsByExpressionLst(lst, includeLst).ConfigureAwait(false)); } }
public async Task SavexBondAllocations(xBondAllocations i) { if (i == null) { return; } using (var ctx = new xBondAllocationsService()) { await ctx.UpdatexBondAllocations(i).ConfigureAwait(false); } }