public async Task <string> UpdateOperation(UpdateOperationInput input) { input.CheckDataAnnotations().CheckValidResult(); await _operationDomainService.Update(input); return("更新操作成功"); }
public async Task <UpdateOperationOutput> UpdateOperation(UpdateOperationInput input) { input.CheckDataAnnotations().CheckValidResult(); return(await _operationDomainService.Update(input)); }