public IEnumerable <Model.SystemModule> QueryModules(Expression <Func <DB.SystemModule, bool> > where) { return(_repository.SearchData(where).Select(m => new Model.SystemModule() { CreatedDate = m.CreatedDate, IsActive = m.IsActive, ModuleId = m.ModuleId, ModuleName = m.ModuleName })); }