Click or drag to resize

IEditSessionCreateOrder Method

Creates new order on specified table. User must have rights to create orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
INewOrderStub CreateOrder(
	IReadOnlyList<ITable> tables,
	IUser waiter = null
)

Parameters

tables
Type: System.Collections.GenericIReadOnlyListITable
Tables on which order will be created. If tables is null or empty, then order will be created on the default table (depending on select iikoFront mode).
waiter (Optional)
Type: Resto.Front.Api.Data.SecurityIUser
Waiter for new order. If null, user from credentials will be used.

Return Value

Type: INewOrderStub
See Also