Exemplo n.º 1
0
 public static List <InventoryItem> GetInventoryItemByCatalogItemId(CatalogItem catalogItem)
 {
     if (catalogItem != null)
     {
         BusinessObjects _businessObjects = new BusinessObjects();
         return((catalogItem.CatalogItemId != null && catalogItem.CatalogItemId != Guid.Empty)
             ? _businessObjects.GetInventoryItemByCatalogItemId(catalogItem.CatalogItemId)
             : null);
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 2
0
 public static List <InventoryItem> GetInventoryItemByInventoryItemId(InventoryItem inventoryItem, int inventoryItemStatus)
 {
     if (inventoryItem != null)
     {
         BusinessObjects _businessObjects = new BusinessObjects();
         return((inventoryItem.InventoryItemId != null && inventoryItem.InventoryItemId != Guid.Empty)
             ? _businessObjects.GetInventoryItemByCatalogItemId(inventoryItem.InventoryItemId)
             : null);
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 3
0
        public static List <InventoryItem> GetInventoryItemByCatalogItemId(Guid catalogItemId, int inventoryItemStatus)
        {
            BusinessObjects _businessObjects = new BusinessObjects();

            return(_businessObjects.GetInventoryItemByCatalogItemId(catalogItemId));
        }