public string DeleteAlbum(int albumId) { var result = "There was a problem deleting this album. Please try again. If the problem persists, please contact [email protected]"; try { var trmservice = new WebService.WCFWebServiceJson(); var artist = trmservice.GetArtist(WebSecurity.CurrentUserId); var album = trmservice.GetArtistAlbumDetails(albumId); trmservice.DeleteArtistAlbum(album, artist); result = "The album " + album.AlbumTitle + " has been successfully removed."; } catch (Exception ex) { result = ex.Message; } return result; }