(function(){ var serviceNamespace = abp.utils.createNamespace(abp, 'services.front.contentFrontEnd'); serviceNamespace._GetContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._FirstOrDefaultContent = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_FirstOrDefaultContent', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetTopContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetTopContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._UpdateHitAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_UpdateHitAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetPagedContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetPagedContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetPagedProContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetPagedProContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetPreAndNextContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetPreAndNextContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetInfo = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetInfo', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetPagedInfo = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetPagedInfo', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace._GetTopInfo = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/_GetTopInfo', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; if(typeof define === 'function' && define.amd){ define(function (require, exports, module) { return { '_GetContentAsync' : serviceNamespace._GetContentAsync, '_FirstOrDefaultContent' : serviceNamespace._FirstOrDefaultContent, '_GetTopContentAsync' : serviceNamespace._GetTopContentAsync, '_UpdateHitAsync' : serviceNamespace._UpdateHitAsync, '_GetPagedContentAsync' : serviceNamespace._GetPagedContentAsync, '_GetPagedProContentAsync' : serviceNamespace._GetPagedProContentAsync, '_GetPreAndNextContentAsync' : serviceNamespace._GetPreAndNextContentAsync, '_GetInfo' : serviceNamespace._GetInfo, '_GetPagedInfo' : serviceNamespace._GetPagedInfo, '_GetTopInfo' : serviceNamespace._GetTopInfo }; }); } })();