private void ConfigureAssessmentOrgsService(AddEpaToApprenticeshipsConfiguration config)
 {
     if (config.UseAssessmentOrgsDocumentRepository)
     {
         For <IAssessmentOrgs>().Use <AssessmentOrgsDocumentService>();
     }
     else
     {
         For <IAssessmentOrgs>().Use <AssessmentOrgsService>();
     }
 }
 private void ConfigurePaymentsApiService(AddEpaToApprenticeshipsConfiguration config)
 {
     if (config.UsePaymentEventsDocumentRepository)
     {
         For <IPaymentEvents>().Use <PaymentEventsDocumentService>();
     }
     else
     {
         For <IPaymentEvents>().Use <PaymentEventsService>();
     }
 }