public async Task <ActionResult> ImportFromPlaylist([FromForm] IFormFile file) { var importedSources = await _sourceManager.ImportSourcesAsync(file.OpenReadStream(), Cancel); return(Ok(new { importedCount = importedSources })); }
public async Task <ActionResult> ImportFromPlaylist([FromForm] IFormFile file) { var importedSources = await _sourceManager.ImportSourcesAsync(file.OpenReadStream(), Cancel); return(Ok(new { importedCount = importedSources })); }