示例#1
0
        public async Task CancelarPedidoAsync(int id, string nomeUsuario, string email)
        {
            _unitOfWork.BeginTransaction();
            await _pedidoService.CancelarPedidoAsync(id, nomeUsuario, email);

            await _unitOfWork.CommitAsync();
        }