public async Task <string> Update(UpdateCorporationInput input) { input.CheckDataAnnotations().CheckValidResult(); await _corporationDomainService.UpdateCorporation(input); return("更新公司信息成功"); }
public async Task <UpdateCorporationOutput> Update(UpdateCorporationInput input) { input.CheckDataAnnotations().CheckValidResult(); return(await _corporationDomainService.UpdateCorporation(input)); }