public bool Restore(int appId, int changeId, [FromBody] ItemIdentifier item) { new AppManager(appId, Log).Entities.VersionRestore(EntityBackend.ResolveItemIdOfGroup(appId, item, Log).EntityId, changeId); return(true); }
public List <ItemHistory> History(int appId, [FromBody] ItemIdentifier item) => new AppManager(appId, Log).Entities.VersionHistory(EntityBackend.ResolveItemIdOfGroup(appId, item, Log).EntityId);