public bool createItemPrice(List<ItemPrice> ip) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); if (BL.createItemPrice(ip)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return true; } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotFound; return false; } }
public bool deleteItem(string ItemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); if (BL.deleteItem(ItemID)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return true; } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotFound; return false; } }
public bool deleteItem(string ItemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); if (BL.deleteItem(ItemID)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return(true); } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotFound; return(false); } }
public bool createItemPrice(List <ItemPrice> ip) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); if (BL.createItemPrice(ip)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return(true); } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotFound; return(false); } }
public List<Model.ItemPrice> getItemPrice(string ItemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getItemPrice(ItemID); }
public Item getItemDetails(string itemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getItemDetails(itemID); }
public List<Item> getItemByName(string itemName) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getItemByName(itemName); }
public List<Item> getItemByCategory(string category) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getItemByCategory(category); }
public List<Item> getItem() { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getItem(); }
public List<Model.StockCard> getStockCard(string itemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return BL.getStockCard(itemID); }
public List <Model.StockCard> getStockCard(string itemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getStockCard(itemID)); }
public List <Model.ItemPrice> getItemPrice(string ItemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getItemPrice(ItemID)); }
public Item getItemDetails(string itemID) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getItemDetails(itemID)); }
public List <Item> getItemByName(string itemName) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getItemByName(itemName)); }
public List <Item> getItemByCategory(string category) { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getItemByCategory(category)); }
public List <Item> getItem() { BusinessLogic.InventoryController BL = new BusinessLogic.InventoryController(); return(BL.getItem()); }