Exemplo n.º 1
0
 public void Gravar()
 {
     if (_investimento.Id == 0)
     {
         _investimento.SalvarNovo();
     }
     else
     {
         _investimento.SalvarExistente();
     }
 }