コード例 #1
0
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public async Task <JsonResponse> Create(GoodsRequestDto input)
        {
            input.InitCreateRequest();
            var resJson = await _applicationEnginee.TryTransactionAsync(async() =>
            {
                await _goodsAppService.CreateAsync(input);
            });

            return(resJson);
        }