public void Then_The_Put_Url_Is_Correctly_Built(PutEmployerVendorIdForLegalEntityRequestData data) { var actual = new PutEmployerVendorIdForLegalEntityRequest { Data = data }; actual.PutUrl.Should().Be($"legalentities/{data.HashedLegalEntityId}/employervendorid"); }
public Task AddEmployerVendorIdToLegalEntity(string hashedLegalEntityId, string employerVendorId) { var request = new PutEmployerVendorIdForLegalEntityRequestData { HashedLegalEntityId = hashedLegalEntityId, EmployerVendorId = employerVendorId }; return(_client.Put(new PutEmployerVendorIdForLegalEntityRequest() { Data = request })); }