Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
Lesson49
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Пасько Виталий
Lesson49
Commits
da08ac38
Commit
da08ac38
authored
Jul 18, 2022
by
Пасько Виталий
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: удалил комментарий
parent
681b375f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
UserService.cs
PhoneStore/Services/UserService.cs
+1
-1
No files found.
PhoneStore/Services/UserService.cs
View file @
da08ac38
...
...
@@ -32,7 +32,7 @@ namespace PhoneStore.Services
public
async
Task
<
UsersViewModel
>
GetAll
(
Order
order
,
string
filterByName
,
int
page
)
{
var
pageSize
=
int
.
Parse
(
_configuration
[
"UsersPageSize"
]);
//Размер страницы берется из appsettings.json
var
pageSize
=
int
.
Parse
(
_configuration
[
"UsersPageSize"
]);
var
users
=
_db
.
Users
.
AsQueryable
();
var
filteredUsers
=
_usersFilter
.
FilterByName
(
users
,
filterByName
);
var
sortedUsers
=
_sortService
.
Sort
(
filteredUsers
,
order
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment