/** * Created by Pensare Software. * User: Theo Weijmer * Date: 20/06/2018 * Time: 14:15 */ dbo.authorisationDataService = { getRoleAuthorisations: function ( callback ) { $.getJSON( 'index.php/beheer/AuthorisationController/getRoleAuthorisations' ) .done( function ( data ) { callback( data ); } ); }, toggleAuhorisation: function ( submitDATA ) { $.post( 'index.php/beheer/AuthorisationController/toggleAuhorisation', submitDATA ); } }