// web service proxy for org webservices.factory('taxCalendarEventService', ['$http', 'apiConfig', 'httpCacheService', function ($http, apiConfig, httpCacheService) { 'use strict'; return { add: function (model) {
return $http.post('/calendarEvent/add', model, apiConfig.create());
}, update: function (model) {
return $http.post('/calendarEvent/update', model, apiConfig.create());
} ,
deleteEvent: function (id) { return $http.get('/calendarEvent/delete/' + id, apiConfig.create());
} }; }]);