public IEnumerable <Spell> SearchSpells(Expression <Func <Spell, bool> > searchParams) { if (searchParams == null) { throw new ArgumentNullException("searchParams"); } var where = ExpressionConverter.ChangeInputType <Spell, Entity.Spell, bool>(searchParams); return(base.GetSome(where).ToDomainModel()); }