예제 #1
0
 public async Task <IActionResult> ImportSongs([FromBody] IEnumerable <ImportSong> songs) => Ok(await _dataImportService.ImportSongs(songs));
 public async Task <ImportResult> ImportSongs(IEnumerable <ImportSong> songs) => await _importService.ImportSongs(await ImportData <IEnumerable <ImportSong> >(_config["ImportOptions:SongsImportPath"]));