public async Task UpdateVatNumber(string id, UpdateOrganizationVatNumberDto updateVatNumber)
 {
     var command = new ChangeOrganizationVatNumberCommand(
         new Guid(id),
         updateVatNumber.VatNumber,
         updateVatNumber.ChangeDate,
         updateVatNumber.ChangedBy
         );
     await _bus.Send(command);
 }
Exemplo n.º 2
0
 public async Task UpdateOrganizationVatNumber([GuidModelValidator] string id, UpdateOrganizationVatNumberDto updateName)
 {
     await _organizationApiService.UpdateVatNumber(id, updateName);
 }