EntityService.Restore Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Restore(IEntity, bool)

Restore a thrashed entity.

public static IEntity Restore(IEntity entity, bool sudo = false)

Parameters

entity
IEntity

The entity to restore.

sudo
bool

true to perform action as super user, otherwise false.

Returns