iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.Data.Assortment
ProductGroupExtensions Class
ProductGroupExtensions Methods
GetChildGroups Method
GetChildProducts Method
GetParent Method
TryGetChildGroups Method
TryGetChildProducts Method
TryGetParent Method

# ProductGroupExtensions GetParent Method

Returns parent of the specified productGroup.

Namespace: Resto.Front.Api.Data.Assortment
Assembly: Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public static IProductGroup GetParent(
    	this IProductGroup productGroup,
    	IOperationService operationService
    )

#### Parameters

productGroup
  Type: Resto.Front.Api.Data.Assortment
  IProductGroup
operationService
  Type: Resto.Front.Api
  IOperationService

#### 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

ProductGroupExtensions Class
Resto.Front.Api.Data.Assortment Namespace