Example #1
0
        public async Task <string> UpdateOperation(UpdateOperationInput input)
        {
            input.CheckDataAnnotations().CheckValidResult();
            await _operationDomainService.Update(input);

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