public async Task <ResultModel> EditAsync(EditDefaultDataRequestModel requestModel) { var model = _mapper.Map <EditDefaultDataModel>(requestModel); await _defaultDataService.EditAsync(model); return(ResultModel.Success("修改成功")); }
public async Task <ResultModel> EditAsync(EditDefaultDataRequestModel requestModel) { var resultModel = await SendPutAsync <ResultModel>($"{_controllerUrl}Edit", requestModel); return(resultModel); }