Example #1
0
        public Exame Get(int id)
        {
            CheckIdIsValid(id);
            var entity = _repository.Find(id);

            CheckIsNull(entity);
            return(entity);
        }
Example #2
0
 public IEnumerable <Exame> Find(Expression <Func <Exame, bool> > predicate)
 {
     return(_exameRepository.Find(predicate));
 }