예제 #1
0
        public async Task <object> Post(int userId, [FromBody] VoucherViewModel model)
        {
            MessageBase2 result = new MessageBase2();
            await _voucherService.ExchangeAsync(userId, model.Code);

            return(result);
        }