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