(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.getContentByIdAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetContentByIdAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getContentByGuIdAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetContentByGuIdAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getContentListByPagedAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetContentListByPagedAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getListContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetListContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getSearchContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetSearchContentAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getProductListByPagedAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetProductListByPagedAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getSearchProductAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetSearchProductAsync', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; serviceNamespace.getFirstContentAsync = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetFirstContentAsync', 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.getContentListByPagedAsyncTop = function(input, ajaxParams) { return abp.ajax($.extend({ url: abp.appPath + 'api/services/front/contentFrontEnd/GetContentListByPagedAsyncTop', type: 'POST', data: JSON.stringify(input) }, ajaxParams)); }; if(typeof define === 'function' && define.amd){ define(function (require, exports, module) { return { 'getContentAsync' : serviceNamespace.getContentAsync, 'getContentByIdAsync' : serviceNamespace.getContentByIdAsync, 'getContentByGuIdAsync' : serviceNamespace.getContentByGuIdAsync, 'getContentListByPagedAsync' : serviceNamespace.getContentListByPagedAsync, 'getListContentAsync' : serviceNamespace.getListContentAsync, 'getSearchContentAsync' : serviceNamespace.getSearchContentAsync, 'getProductListByPagedAsync' : serviceNamespace.getProductListByPagedAsync, 'getSearchProductAsync' : serviceNamespace.getSearchProductAsync, 'getFirstContentAsync' : serviceNamespace.getFirstContentAsync, 'getPreAndNextContentAsync' : serviceNamespace.getPreAndNextContentAsync, 'getContentListByPagedAsyncTop' : serviceNamespace.getContentListByPagedAsyncTop }; }); } })();