Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="data"></param>
        /// <param name="co"></param>
        /// <param name="filename"></param>
        /// <param name="description"></param>
        /// <returns></returns>
        public string AddSupportingFile(Stream data, ContentObject co, string filename, string description)
        {
            string dsid = _fileStore.AddSupportingFile(data, co, filename);

            _metadataStore.AddSupportingFile(co, filename, description, dsid);

            return(dsid);
        }