public ExecutionResult RunPage(IModelProvider modelProvider, string pageIdentifier, string resultDataIdentifier) { var result = RunPage(modelProvider.GetPage(pageIdentifier).Content); /* * if (resultDataIdentifier != null) * { * storage.SetData(resultDataIdentifier, result.Serialize()); * } */ modelProvider.SetData(Const.GlobalPageResultGraphPrefix + pageIdentifier, result.Serialize()); if (result.Page != null) { modelProvider.SetData(Const.GlobalPageResultSimplePrefix + pageIdentifier, result.Page.ResultState.ToString()); } return(result); }