예제 #1
0
        async Task <bool> DeductionGoodsStock(CreateOrderDeductionGoodsStockDto input)
        {
            var data = input.CopyTo <CreateOrderDeductionGoodsStockDto, DeductionStockDto>();

            data.ActorId = input.GoodsId.ToString();
            return((await goodsActorService.DeductionGoodsStock(data)).GetData <bool>());
        }
 public async Task <ApiResult> DeductionGoodsStock(DeductionStockDto input)
 {
     input.ActorId = input.GoodsId.ToString();
     return(await actorService.DeductionGoodsStock(input));
 }