I am getting errors from autogenerated webAPI. Here is the content after hitting that url: ../api/AbpServiceProxies/GetAll?type=angular
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.session', [
'$http', function ($http) {
return new function () {
this.getCurrentLoginInformations = function (httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/session/GetCurrentLoginInformations',
method: 'POST',
data: JSON.stringify({})
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.user', [
'$http', function ($http) {
return new function () {
this.prohibitPermission = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/user/ProhibitPermission',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
this.removeFromRole = function (userId, roleName, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/user/RemoveFromRole?userId=' + escape(userId) + '&roleName=' + escape(roleName) + '',
method: 'POST',
data: JSON.stringify({})
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.role', [
'$http', function ($http) {
return new function () {
this.updateRolePermissions = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/role/UpdateRolePermissions',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.tenant', [
'$http', function ($http) {
return new function () {
this.getTenants = function (httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/tenant/GetTenants',
method: 'POST',
data: JSON.stringify({})
}, httpParams));
};
this.createTenant = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/tenant/CreateTenant',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.person', [
'$http', function ($http) {
return new function () {
this.getAllPeople = function (httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/person/GetAllPeople',
method: 'POST',
data: JSON.stringify({})
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));
(function (abp, angular) {
if (!angular) {
return;
}
var abpModule = angular.module('abp');
abpModule.factory('abp.services.app.task', [
'$http', function ($http) {
return new function () {
this.getTasks = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/task/GetTasks',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
this.updateTask = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/task/UpdateTask',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
this.createTask = function (input, httpParams) {
return $http(angular.extend({
abp: true,
url: abp.appPath + 'api/services/app/task/CreateTask',
method: 'POST',
data: JSON.stringify(input)
}, httpParams));
};
};
}
]);
})((abp || (abp = {})), (angular || undefined));