Esempio n. 1
0
        public async Task <ActionResult> ImportFromPlaylist([FromForm] IFormFile file)
        {
            var importedSources = await _sourceManager.ImportSourcesAsync(file.OpenReadStream(), Cancel);

            return(Ok(new { importedCount = importedSources }));
        }