Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveSelfPaymentRequestHandler"/> class.
 /// </summary>
 /// <param name="selfPaymentFactory">The self payment factory.</param>
 /// <param name="patientRepository">The patient repository.</param>
 /// <param name="staffRepository">The staff repository.</param>
 /// <param name="mappingHelper">The mapping helper.</param>
 /// <param name="selfPaymentRepository">The self payment repository.</param>
 public SaveSelfPaymentRequestHandler(
     ISelfPaymentFactory selfPaymentFactory,
     IPatientRepository patientRepository,
     IStaffRepository staffRepository,
     IDtoToDomainMappingHelper mappingHelper,
     ISelfPaymentRepository selfPaymentRepository)
 {
     _selfPaymentFactory    = selfPaymentFactory;
     _patientRepository     = patientRepository;
     _staffRepository       = staffRepository;
     _mappingHelper         = mappingHelper;
     _selfPaymentRepository = selfPaymentRepository;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SelfPaymentFactory"/> class.
 /// </summary>
 /// <param name="selfPaymentRepository">The self payment repository.</param>
 public SelfPaymentFactory(ISelfPaymentRepository selfPaymentRepository)
 {
     _selfPaymentRepository = selfPaymentRepository;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SelfPaymentFactory"/> class.
 /// </summary>
 /// <param name="selfPaymentRepository">The self payment repository.</param>
 public SelfPaymentFactory( ISelfPaymentRepository selfPaymentRepository )
 {
     _selfPaymentRepository = selfPaymentRepository;
 }