public CreatePaymentConsumer(IAsyncUnitOfWork unitOfWork, IRepository <Payment, Guid> paymentRepository, IServiceClient serviceClient, Client.IServiceClient billsServiceClient)
 {
     _unitOfWork         = unitOfWork;
     _paymentRepository  = paymentRepository;
     _serviceClient      = serviceClient;
     _billsServiceClient = billsServiceClient;
 }
Ejemplo n.º 2
0
 public static Client.IServiceClient MakeOrganizationServiceClient(string orgId, string privateKeyLocation, string serviceId, string apiURL)
 {
     Client.IServiceClient serviceClient = MakeOrganizationFactory(orgId, privateKeyLocation, apiURL).MakeServiceClient(serviceId);
     return(serviceClient);
 }