Example #1
0
 public PatientsController(IPatientRepository patientRepository, IPatientClient client, IMediator mediator, ICacheService cacheService, IConfiguration configuration)
 {
     _patientRepository = patientRepository;
     _client            = client;
     _mediator          = mediator;
     _cacheService      = cacheService;
     _configuration     = configuration;
 }
Example #2
0
 public Transaction(IPatientClient client, IPatientRepository patientRepository)
 {
     _client     = client;
     _repository = patientRepository;
 }
Example #3
0
 public CreatePatientHandler(IPatientRepository patientRepository, IPatientClient client, IEventStore eventStore)
 {
     _patientRepository = patientRepository;
     _client            = client;
     _eventStore        = eventStore;
 }