public async Task CreateLegalEntity(AccountLegalEntityCreateRequest accountLegalEntity) { var request = new PutAccountLegalEntityRequest { Data = accountLegalEntity }; await _client.Put(request); }
public async Task Update(UpdateRequest updateRequest) { var request = new UpdateEmploymentCheckRequest { Data = updateRequest }; await _client.Put(request); }
public async Task <Unit> Handle(AddJobCommand command, CancellationToken cancellationToken) { var request = new PutJobRequest(new JobRequest { Type = command.Type, Data = command.Data }); await _client.Put(request); return(Unit.Value); }
public Task AddEmployerVendorIdToLegalEntity(string hashedLegalEntityId, string employerVendorId) { var request = new PutEmployerVendorIdForLegalEntityRequestData { HashedLegalEntityId = hashedLegalEntityId, EmployerVendorId = employerVendorId }; return(_client.Put(new PutEmployerVendorIdForLegalEntityRequest() { Data = request })); }
public Task Update(UpdateIncentiveApplicationRequestData requestData) { return(_client.Put(new UpdateIncentiveApplicationRequest { Data = requestData })); }