Commit cc194ca7 authored by Almouhannad's avatar Almouhannad

(B) Edit notifications folders

parent 5446ed83
using Application.Abstractions.Notifications.Doctors.NewVisitNotifications;
using Application.Notifications.Doctors.NewVisitNotifications;
namespace Application.Abstractions.Notifications.Doctors;
namespace Application.Notifications.Doctors;
public interface IDoctorsNotificationService
{
......
namespace Application.Abstractions.Notifications.Doctors.NewVisitNotifications;
using Application.Abstractions.Notifications;
namespace Application.Notifications.Doctors.NewVisitNotifications;
public class NewVisitNotification : INotification
{
......
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.FirstName, request.DoctorId, doctorUser.Id);
var notification = NewVisitNotification.Create(request.PatientId, patient.PersonalInfo.FullName, request.DoctorId, doctorUser.Id);
await _doctorsNotificationService.SendNewVisitNotification(notification);
#endregion
......
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment