Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
HIAST-Clinics
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
almohanad.hafez
HIAST-Clinics
Commits
c1dd7b99
Commit
c1dd7b99
authored
Aug 23, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(B) Edit get user response
parent
7c8c4cbd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
GetAllDoctorUsersResponse.cs
...rs/Queries/GetAllDoctorUsers/GetAllDoctorUsersResponse.cs
+2
-0
GetAllReceptionistUsersResponse.cs
...tAllReceptionistsUsers/GetAllReceptionistUsersResponse.cs
+2
-0
No files found.
Clinics.Backend/Application/Users/Queries/GetAllDoctorUsers/GetAllDoctorUsersResponse.cs
View file @
c1dd7b99
...
...
@@ -8,6 +8,7 @@ public class GetAllDoctorUsersResponse
{
public
class
GetAllDoctorUsersResponseItem
{
public
int
Id
{
get
;
set
;
}
public
string
UserName
{
get
;
set
;
}
=
null
!;
public
string
FullName
{
get
;
set
;
}
=
null
!;
}
...
...
@@ -24,6 +25,7 @@ public class GetAllDoctorUsersResponse
return
Result
.
Failure
<
GetAllDoctorUsersResponse
>(
PersistenceErrors
.
NotFound
);
var
doctorUserItem
=
new
GetAllDoctorUsersResponseItem
{
Id
=
doctorUser
.
Id
,
FullName
=
doctorUser
.
Doctor
.
PersonalInfo
.
FullName
,
UserName
=
doctorUser
.
User
.
UserName
};
...
...
Clinics.Backend/Application/Users/Queries/GetAllReceptionistsUsers/GetAllReceptionistUsersResponse.cs
View file @
c1dd7b99
...
...
@@ -8,6 +8,7 @@ public class GetAllReceptionistUsersResponse
{
public
class
GetAllReceptionistUsersResponseItem
{
public
int
Id
{
get
;
set
;
}
public
string
UserName
{
get
;
set
;
}
=
null
!;
public
string
FullName
{
get
;
set
;
}
=
null
!;
}
...
...
@@ -22,6 +23,7 @@ public class GetAllReceptionistUsersResponse
return
Result
.
Failure
<
GetAllReceptionistUsersResponse
>(
PersistenceErrors
.
NotFound
);
var
receptionistUserItem
=
new
GetAllReceptionistUsersResponseItem
{
Id
=
receptionistUser
.
Id
,
UserName
=
receptionistUser
.
User
.
UserName
,
FullName
=
receptionistUser
.
PersonalInfo
.
FullName
};
...
...
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