private static bool ValidatePreviewGuid(object value) { var identifier = ValidationHelper.GetGuid(value, Guid.Empty); var query = new DocumentQuery().WhereEquals("DocumentWorkflowCycleGUID", identifier); return(query.HasResults()); }
private static bool ValidatePreviewGuid(object value) { var identifier = ValidationHelper.GetGuid(value, Guid.Empty); var query = new DocumentQuery().WhereEquals("DocumentWorkflowCycleGUID", identifier); return query.HasResults(); }