public void Delete(int id) { if (id == 0) { throw new ArgumentException("The id can't be zero."); } repository.Delete(id); }
public void ExcluirCorrentista(Correntista pCorrentista) { _dataset.Delete(pCorrentista); }