public Produto Obter(int?id) { try { return(persistencia.Obter(e => e.Id == id)); } catch (PersistenciaException e) { throw new NegocioException("Erro ao tentar obter o objeto.", e); } }
public Produto Obter(int?id) { return(persistencia.Obter(e => e.Id == id)); }