ProductGroupExtensionsTryGetParent Method iikoFront Api V3 Documentation
Returns parent of the specified productGroup or null if productGroup doesn't exist.

Namespace: Resto.Front.Api.V3.Data.Assortment
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax

C#
public static IProductGroup TryGetParent(
	this IProductGroup productGroup,
	IOperationService operationService
)

Parameters

productGroup
Type: Resto.Front.Api.V3.Data.AssortmentIProductGroup
operationService
Type: Resto.Front.Api.V3IOperationService

Return Value

Type: IProductGroup

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IProductGroup. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference