File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 149
149
dependencies :
150
150
" @types/jquery" " *"
151
151
152
+ " @types/jquery.validation@^1.16.3 " :
153
+ version "1.16.3"
154
+ resolved "https://registry.yarnpkg.com/@types/jquery.validation/-/jquery.validation-1.16.3.tgz#32cb17657a866c54a145988f1768d4ed31d1b986"
155
+ dependencies :
156
+ " @types/jquery" " *"
157
+
152
158
" @types/jquery@*" , "@types/jquery@^2.0.41":
153
159
version "2.0.41"
154
160
resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-2.0.41.tgz#b87ba051011f99edbe586d8f97282e7786e01a6d"
@@ -3512,6 +3518,10 @@ ngx-bootstrap@^1.6.6:
3512
3518
dependencies :
3513
3519
moment "2.18.1"
3514
3520
3521
+ ngx-pagination@^3.0.0 :
3522
+ version "3.0.1"
3523
+ resolved "https://registry.yarnpkg.com/ngx-pagination/-/ngx-pagination-3.0.1.tgz#5a8000e40c0424d9c41c9d6d592562e1547abf24"
3524
+
3515
3525
no-case@^2.2.0 :
3516
3526
version "2.3.1"
3517
3527
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.1.tgz#7aeba1c73a52184265554b7dc03baf720df80081"
Original file line number Diff line number Diff line change 1
- using Abp . AspNetCore . Mvc . Authorization ;
1
+ using Abp . Application . Services . Dto ;
2
+ using Abp . AspNetCore . Mvc . Authorization ;
2
3
using AbpCompanyName . AbpProjectName . Authorization ;
3
4
using AbpCompanyName . AbpProjectName . Controllers ;
4
5
using AbpCompanyName . AbpProjectName . MultiTenancy ;
@@ -18,7 +19,7 @@ public TenantsController(ITenantAppService tenantAppService)
18
19
19
20
public ActionResult Index ( )
20
21
{
21
- var output = _tenantAppService . GetTenants ( ) ;
22
+ var output = _tenantAppService . GetAll ( new PagedResultRequestDto ( ) ) ;
22
23
return View ( output ) ;
23
24
}
24
25
}
Original file line number Diff line number Diff line change 1
1
using System . Threading . Tasks ;
2
+ using Abp . Application . Services . Dto ;
2
3
using Abp . AspNetCore . Mvc . Authorization ;
3
4
using AbpCompanyName . AbpProjectName . Authorization ;
4
5
using AbpCompanyName . AbpProjectName . Controllers ;
@@ -19,7 +20,7 @@ public UsersController(IUserAppService userAppService)
19
20
20
21
public async Task < ActionResult > Index ( )
21
22
{
22
- var output = await _userAppService . GetUsers ( ) ;
23
+ var output = await _userAppService . GetAll ( new PagedResultRequestDto ( ) ) ;
23
24
return View ( output ) ;
24
25
}
25
26
}
Original file line number Diff line number Diff line change 2
2
@using Abp .MultiTenancy
3
3
@using AbpCompanyName .AbpProjectName .MultiTenancy
4
4
@using AbpCompanyName .AbpProjectName .Web .Startup
5
- @model Abp .Application .Services .Dto .ListResultDto <AbpCompanyName .AbpProjectName .MultiTenancy .Dto .TenantListDto >
5
+ @model Abp .Application .Services .Dto .ListResultDto <AbpCompanyName .AbpProjectName .MultiTenancy .Dto .TenantDto >
6
6
@{
7
7
ViewBag .CurrentPageName = PageNames .Tenants ; // The menu item will be active for this page.
8
8
}
Original file line number Diff line number Diff line change 1
1
@using Abp .Authorization .Users
2
2
@using AbpCompanyName .AbpProjectName .Web .Startup
3
- @model Abp .Application .Services .Dto .ListResultDto <AbpCompanyName .AbpProjectName .Users .Dto .UserListDto >
3
+ @model Abp .Application .Services .Dto .ListResultDto <AbpCompanyName .AbpProjectName .Users .Dto .UserDto >
4
4
@{
5
5
ViewBag .CurrentPageName = PageNames .Users ; // The menu item will be active for this page.
6
6
}
You can’t perform that action at this time.
0 commit comments