File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/AbpCompanyName.AbpProjectName.Web.Mvc/Controllers
test/AbpCompanyName.AbpProjectName.Tests/Users Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 66using AbpCompanyName . AbpProjectName . Controllers ;
77using AbpCompanyName . AbpProjectName . Users ;
88using AbpCompanyName . AbpProjectName . Web . Models . Users ;
9+ using AbpCompanyName . AbpProjectName . Users . Dto ;
910
1011namespace AbpCompanyName . AbpProjectName . Web . Controllers
1112{
@@ -21,7 +22,7 @@ public UsersController(IUserAppService userAppService)
2122
2223 public async Task < ActionResult > Index ( )
2324 {
24- var users = ( await _userAppService . GetAll ( new PagedResultRequestDto { MaxResultCount = int . MaxValue } ) ) . Items ; // Paging not implemented yet
25+ var users = ( await _userAppService . GetAll ( new PagedUserResultRequestDto { MaxResultCount = int . MaxValue } ) ) . Items ; // Paging not implemented yet
2526 var roles = ( await _userAppService . GetRoles ( ) ) . Items ;
2627 var model = new UserListViewModel
2728 {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public UserAppService_Tests()
2121 public async Task GetUsers_Test ( )
2222 {
2323 // Act
24- var output = await _userAppService . GetAll ( new PagedResultRequestDto { MaxResultCount = 20 , SkipCount = 0 } ) ;
24+ var output = await _userAppService . GetAll ( new PagedUserResultRequestDto { MaxResultCount = 20 , SkipCount = 0 } ) ;
2525
2626 // Assert
2727 output . Items . Count . ShouldBeGreaterThan ( 0 ) ;
You can’t perform that action at this time.
0 commit comments