Exemple #1
0
        public async Task <ResultModel> EditAsync(EditDefaultDataRequestModel requestModel)
        {
            var model = _mapper.Map <EditDefaultDataModel>(requestModel);
            await _defaultDataService.EditAsync(model);

            return(ResultModel.Success("修改成功"));
        }
Exemple #2
0
        public async Task <ResultModel> EditAsync(EditDefaultDataRequestModel requestModel)
        {
            var resultModel = await SendPutAsync <ResultModel>($"{_controllerUrl}Edit", requestModel);

            return(resultModel);
        }