Пример #1
0
 public NotificationService(
     IUnitWork unitWork,
     INotificationRepo repo,
     IGlobalMessageFactory globalMessageFactory,
     IMessageFactory messageFactory)
 {
     _unitWork             = unitWork;
     _repo                 = repo;
     _globalMessageFactory = globalMessageFactory;
     _messageFactory       = messageFactory;
 }
Пример #2
0
 public EvaluationService(
     IUnitWork unitWork,
     INotificationRepo repo,
     IGlobalMessageFactory globalMessageFactory,
     IMessageFactory messageFactory,
     IEvaluationRepo repo1,
     MedicalRepEvaluationsHandlers medicalRepHandlers,
     VisitAssertion visitAssertion,
     IVisitInteracting interacting,
     IMapper mapper,
     INotificationTypeRepo notificationTypeRepo
     ) : base(unitWork, repo, globalMessageFactory, messageFactory)
 {
     _unitWork             = unitWork;
     _repo                 = repo1;
     _medicalRepHandlers   = medicalRepHandlers;
     _visitAssertion       = visitAssertion;
     _interacting          = interacting;
     _mapper               = mapper;
     _notificationTypeRepo = notificationTypeRepo;
     _eventBuilder         = new EvaluationEventBuilder(_notificationTypeRepo);
 }