public CreateCustomer(IOptions <ConnectionStringsSettings> connectionStringsOptions, IOptions <QueuesSettings> queuesOptionsSettings, IMapper mapper, QueueHandler queueHandler)
 {
     _connectionStringsSettings = connectionStringsOptions.Value;
     _queuesSettings            = queuesOptionsSettings.Value;
     _mapper       = mapper;
     _queueHandler = queueHandler;
 }
 public CreatePayment(IOptions <ConnectionStringsSettings> connectionStringsOptions, IOptions <QueuesSettings> queuesOptionsSettings, GetPayment.GetPayment getPayment, IMapper mapper, QueueHandler queueHandler)
 {
     _connectionStringsSettings = connectionStringsOptions.Value;
     _queuesSettings            = queuesOptionsSettings.Value;
     _getPayment   = getPayment;
     _mapper       = mapper;
     _queueHandler = queueHandler;
 }