ItemBaseRepositoryTCreate Method

Upload a new instance of a model to the cloud

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
internal Task<T> Create(
	T model,
	CancellationToken cancellationToken
)

Parameters

model  T
The new business object
cancellationToken  CancellationToken
Cancellation Token, which will be inserted in the Azure Tasks

Return Value

TaskT
Created item

Exceptions

InvalidOperationExceptionIf the item was not created

See Also