Click or drag to resize

RestaurantSectionExtensionsTryGetSectionSchema Method

Returns sectionSchema of the specified restaurantSection or null if restaurantSection doesn't exist.

Namespace:  Resto.Front.Api.Data.Organization.Sections
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public static ISectionSchema TryGetSectionSchema(
	this IRestaurantSection restaurantSection,
	IOperationService operationService
)

Parameters

restaurantSection
Type: Resto.Front.Api.Data.Organization.SectionsIRestaurantSection
operationService
Type: Resto.Front.ApiIOperationService

Return Value

Type: ISectionSchema

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRestaurantSection. 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