Ejemplo n.º 1
0
        public async Task <ResultModel> EditAsync(EditApplicationInfoRequestModel requestModel)
        {
            var model = _mapper.Map <EditApplicationInfoModel>(requestModel);
            await _applicationInfoService.EditAsync(model);

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

            return(resultModel);
        }