public bool RealizarPagamesnto(Cartao cartao, double valor) { ServicoDePagamentoMaster servicoDePagamento = new ServicoDePagamentoMaster(); return servicoDePagamento.RealizarPagamento(cartao, valor); }
public bool RealizarPagamento( double valor) { ServicoDePagamentoMaster servicoDePagamento = new ServicoDePagamentoMaster(); return servicoDePagamento.RealizarPagamento(this, valor); }