Example #1
0
        public bool SaveMedia(Guid packId, Udi mediaId)
        {
            var path = $"{syncRoot}/{packId}";

            mediaFileService.CopyMediaFile(mediaId, path);
            return(true);
        }
Example #2
0
        public virtual void SaveMedia(Guid packId, Udi mediaId)
        {
            var rootPath = Path.Combine(_syncRoot, packId.ToString());

            _mediaFileService.CopyMediaFile(mediaId, rootPath);
        }