public Pedido Obter(int id) { try{ return(persistencia.Obter(e => e.Id == id)); } catch (PersistenciaException e) { throw new NegocioException("Erro ao tentar obter as informações do objeto.", e); } }
public Pedido Obter(int id) { return(persistencia.Obter(e => e.Id == id)); }