Added functionality to delete empty directorie after updating songs #45

This commit is contained in:
amazing-username
2019-05-22 20:37:14 -04:00
parent d4c3d94d1a
commit 0cf1bf1c2d
3 changed files with 85 additions and 17 deletions
+2 -3
View File
@@ -121,12 +121,11 @@ namespace Icarus.Controllers
Message = "Song does not exist"
});
}
// TODO: Provide functionality for the UpdateSong(...) method
// before removing the below return statement
var songRes = _songMgr.UpdateSong(song, context, albumStore, artistStore, genreStore,
yearStore);
return Ok("song exists");
return Ok(songRes);
}
}
}