public IEnumerable <RestApiTagViewModel> GetTagsFromOverwriteDocument(FileModel overwriteModel, string uid, IHostService host) { return(OverwriteDocumentReader.Transform <RestApiTagViewModel>( overwriteModel, uid, s => BuildRestApiDocument.BuildTag(host, s, overwriteModel, content => content != null && content.Trim() == Constants.ContentPlaceholder))); }
protected override IEnumerable <RestApiItemViewModel> GetItemsFromOverwriteDocument(FileModel fileModel, string uid, IHostService host) { return(OverwriteDocumentReader.Transform <RestApiItemViewModel>( fileModel, uid, s => BuildRestApiDocument.BuildItem(host, s, fileModel, content => content != null && content.Trim() == Constants.ContentPlaceholder))); }