public GetMedicationsQueryHandler( IMedicationReadRepository medicationReadRepository, ILogger <GetMedicationsQueryHandler> logger) { this.medicationReadRepository = medicationReadRepository; this.logger = logger; }
public DeleteMedicationCommandHandler( IMedicationWriteRepository medicationWriteRepository, IMedicationReadRepository medicationReadRepository, ILogger <DeleteMedicationCommandHandler> logger) { this.medicationWriteRepository = medicationWriteRepository; this.medicationReadRepository = medicationReadRepository; this.logger = logger; }