Created
March 19, 2019 17:08
-
-
Save emrekizildas/958798d8399814e0797ae0b41df4f13e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#kitaplariGetir").click(function(){ | |
$.ajax({ | |
type: 'GET', | |
url: '/api/Service/GetBooks', | |
success: function(books){ | |
$("#getBooks").html(""); | |
$.each(books, function(index, value){ | |
$("#getBooks").append("<li>Kitap Adı: <b>"+value.name+" - Yazarı: <b>"+value.authorName+"</b>"); | |
}); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment