public IActionResult AddTrackToAlbum(long id, [FromBody] TrackDTO trackDTO) { try { AlbumService.AddTrackToAlbum(id, trackDTO); } catch (ArgumentException e) { log.LogError("The album with the id :" + id + " does not exist." + e.Message); return(NotFound(StatusCodes.Status404NotFound)); } return(Ok(StatusCodes.Status200OK)); }