/// <summary> /// Retrieves the individual modifiers associated with the specified item (modifiers that are not in groups) /// </summary> /// <param name="context">The store id, station id, and cashier id the information should be restricted to.</param> /// <param name="itemNumber">The item number to retrieve info for</param> /// <returns>A list of ModifierItems for the item number</returns> public List<ModifierItem> GetIndividualModifiers(Context context, string itemNumber) { using (var client = new InventoryServiceClient()) { client.Open(); return new List<ModifierItem>(client.GetIndividualModifiers(context, itemNumber)); } }
/// <summary> /// Retrieves the individual modifiers associated with the specified item (modifiers that are not in groups) /// </summary> /// <param name="context">The store id, station id, and cashier id the information should be restricted to.</param> /// <param name="itemNumber">The item number to retrieve info for</param> /// <returns>A list of ModifierItems for the item number</returns> public List <ModifierItem> GetIndividualModifiers(Context context, string itemNumber) { using (var client = new InventoryServiceClient()) { client.Open(); return(new List <ModifierItem>(client.GetIndividualModifiers(context, itemNumber))); } }