mirror of https://github.com/abpframework/abp.git
1 changed files with 0 additions and 32 deletions
@ -1,32 +0,0 @@ |
|||
/* This file is automatically generated by ABP framework to use MVC Controllers from javascript. */ |
|||
|
|||
|
|||
// module myProjectName
|
|||
|
|||
(function(){ |
|||
|
|||
// controller myCompanyName.myProjectName.samples.sample
|
|||
|
|||
(function(){ |
|||
|
|||
abp.utils.createNamespace(window, 'myCompanyName.myProjectName.samples.sample'); |
|||
|
|||
myCompanyName.myProjectName.samples.sample.get = function(ajaxParams) { |
|||
return abp.ajax($.extend(true, { |
|||
url: abp.appPath + 'api/MyProjectName/sample', |
|||
type: 'GET' |
|||
}, ajaxParams)); |
|||
}; |
|||
|
|||
myCompanyName.myProjectName.samples.sample.getAuthorized = function(ajaxParams) { |
|||
return abp.ajax($.extend(true, { |
|||
url: abp.appPath + 'api/MyProjectName/sample/authorized', |
|||
type: 'GET' |
|||
}, ajaxParams)); |
|||
}; |
|||
|
|||
})(); |
|||
|
|||
})(); |
|||
|
|||
|
|||
Loading…
Reference in new issue