/// <summary>
        /// Initializes a new PaymentRequestsController
        /// </summary>
        public PaymentRequestsController(PaymentsDbContext dbContext)
        {
            if (dbContext == null)
            {
                throw new ArgumentNullException("dbContext");
            }

            this.dbContext = dbContext;
        }
 public PaymentEventHandler(PaymentsDbContext dbContext, ServiceBusClient serviceBusClient, WorkforceClient workforceClient)
 {
     this.dbContext = dbContext;
     this.serviceBusClient = serviceBusClient;
     this.workforceClient = workforceClient;
 }