//Search Entities
 public async Task <IEnumerable <InventoryItemAlia> > SearchInventoryItemAlia(List <string> lst, List <string> includeLst = null)
 {
     using (var ctx = new InventoryItemAliaService())
     {
         return(await ctx.GetInventoryItemAliasByExpressionLst(lst, includeLst).ConfigureAwait(false));
     }
 }
Пример #2
0
 public async Task SaveInventoryItemAlia(InventoryItemAlia i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new InventoryItemAliaService())
     {
         await ctx.UpdateInventoryItemAlia(i).ConfigureAwait(false);
     }
 }