Added functionality to delete empty directorie after updating songs #45
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user