public void DeletarObjeto(GerenciadorFinanceiro.Dominio.Despesa objeto) { string sqlUpdate = "delete from TB_Despesa where IdDespesa=@Id and Status=@status"; try { this.Conection.AbrirConexao(); this.Conection.Execute(sqlUpdate, objeto.IdDespesa, StatusParcela.Aberta); } catch (Exception ex) { throw new Exception("", ex); } }
public void AtualizarObjeto(GerenciadorFinanceiro.Dominio.Despesa objeto) { throw new NotImplementedException(); }