예제 #1
0
        public List <TModel> FindBy(Expression <Func <TModel, bool> > predicate)
        {
            var entities = ServiceBase.FindBy(this.Mapper.Map <Expression <Func <TEntity, bool> > >(predicate));

            return(this.Mapper.Map <List <TModel> >(entities.ToList()));
        }