Exemplo n.º 1
0
 public async Task <IEnumerable <InventoryItemAlias> > SearchInventoryItemAlias(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new InventoryItemAliasService())
     {
         return(await ctx.GetInventoryItemAliasByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
Exemplo n.º 2
0
 public async Task SaveInventoryItemAlias(InventoryItemAlias i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new InventoryItemAliasService())
     {
         await ctx.UpdateInventoryItemAlias(i).ConfigureAwait(false);
     }
 }