Last active
November 24, 2017 18:52
-
-
Save gngeorgiev/bcaf5fa1276c938c089df8ad8deb3f0e to your computer and use it in GitHub Desktop.
sashido-telerik-platform-CRUD.js
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
var gameScore = everlive.data('GameScore'); | |
//Create | |
gameScore.create({ score : 1337 }).then(...); | |
//Read | |
gameScore.getById('item-id').then(...); | |
//Update | |
gameScore.updateSingle({ Id: 'item-id', score: 9999 }).then(...); | |
//Delete | |
gameScore.destroySingle({ Id: 'item-id' }).then(...); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment