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
cc194ca7
Commit
cc194ca7
authored
Aug 25, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(B) Edit notifications folders
parent
5446ed83
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
IDoctorsNotificationService.cs
...tion/Notifications/Doctors/IDoctorsNotificationService.cs
+8
-0
NewVisitNotification.cs
...ons/Doctors/NewVisitNotifications/NewVisitNotification.cs
+3
-1
SendWaitingListRecordToDoctorHandler.cs
...istRecordToDoctor/SendWaitingListRecordToDoctorHandler.cs
+3
-3
DoctorsNotificationsService.cs
...ificationsServices/Doctors/DoctorsNotificationsService.cs
+2
-2
No files found.
Clinics.Backend/Application/
Abstractions/
Notifications/Doctors/IDoctorsNotificationService.cs
→
Clinics.Backend/Application/Notifications/Doctors/IDoctorsNotificationService.cs
View file @
cc194ca7
using
Application.
Abstractions.
Notifications.Doctors.NewVisitNotifications
;
using
Application.Notifications.Doctors.NewVisitNotifications
;
namespace
Application.
Abstractions.
Notifications.Doctors
;
namespace
Application.Notifications.Doctors
;
public
interface
IDoctorsNotificationService
{
...
...
Clinics.Backend/Application/
Abstractions/
Notifications/Doctors/NewVisitNotifications/NewVisitNotification.cs
→
Clinics.Backend/Application/Notifications/Doctors/NewVisitNotifications/NewVisitNotification.cs
View file @
cc194ca7
namespace
Application.Abstractions.Notifications.Doctors.NewVisitNotifications
;
using
Application.Abstractions.Notifications
;
namespace
Application.Notifications.Doctors.NewVisitNotifications
;
public
class
NewVisitNotification
:
INotification
{
...
...
Clinics.Backend/Application/WaitingList/Commands/SendWaitingListRecordToDoctor/SendWaitingListRecordToDoctorHandler.cs
View file @
cc194ca7
using
Application.Abstractions.CQRS.Commands
;
using
Application.
Abstractions.
Notifications.Doctors
;
using
Application.
Abstractions.
Notifications.Doctors.NewVisitNotifications
;
using
Application.Notifications.Doctors
;
using
Application.Notifications.Doctors.NewVisitNotifications
;
using
Domain.Entities.People.Doctors.Shared.DoctorStatusValues
;
using
Domain.Repositories
;
using
Domain.Shared
;
...
...
@@ -63,7 +63,7 @@ public class SendWaitingListRecordToDoctorHandler : CommandHandlerBase<SendWaiti
#
endregion
#
region
5.
Send
notification
var
notification
=
NewVisitNotification
.
Create
(
request
.
PatientId
,
patient
.
PersonalInfo
.
F
irst
Name
,
request
.
DoctorId
,
doctorUser
.
Id
);
var
notification
=
NewVisitNotification
.
Create
(
request
.
PatientId
,
patient
.
PersonalInfo
.
F
ull
Name
,
request
.
DoctorId
,
doctorUser
.
Id
);
await
_doctorsNotificationService
.
SendNewVisitNotification
(
notification
);
#
endregion
...
...
Clinics.Backend/Infrastructure/NotificationsServices/Doctors/DoctorsNotificationsService.cs
View file @
cc194ca7
using
Application.
Abstractions.
Notifications.Doctors
;
using
Application.
Abstractions.
Notifications.Doctors.NewVisitNotifications
;
using
Application.Notifications.Doctors
;
using
Application.Notifications.Doctors.NewVisitNotifications
;
using
Infrastructure.Abstractions
;
using
Infrastructure.NotificationsHubs
;
using
Microsoft.AspNetCore.SignalR
;
...
...
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