public ActionResult AddSongToPlaylist(PlaylistEditModel model) { try { _currentDB.AddSongToPlaylist(model.id, model.songName); } catch (ArgumentNullException e) { return(BadRequest("Failed To Add Song To Playlist - " + e)); } return(Ok("Added song Playlist")); }