public async Task UpdateAddress(string id, UpdateOrganizationAddressDto updateAddress) { var command = new ChangeOrganizationAddressCommand( new Guid(id), updateAddress.Street, updateAddress.StreetExtended, updateAddress.PostalCode, updateAddress.City, updateAddress.Country, updateAddress.ChangeDate, updateAddress.ChangedBy ); await _bus.Send(command); }
public async Task UpdateOrganizationAddress([GuidModelValidator] string id, UpdateOrganizationAddressDto updateAddress) { await _organizationApiService.UpdateAddress(id, updateAddress); }