public List <Entity> SearchEntities(EntityType selectedEntityType, string searchString, string stateFilter)
 {
     if (searchString.Contains(":") && !searchString.EndsWith(":"))
     {
         var parts = searchString.Split(new[] { ':' }, 2);
         return(_entityDao.FindEntities(selectedEntityType, parts[0], parts[1], stateFilter));
     }
     return(_entityDao.FindEntities(selectedEntityType, searchString, stateFilter));
 }
Beispiel #2
0
 public List <Entity> SearchEntities(string searchString, EntityType selectedEntityType, string stateFilter)
 {
     return(_entityDao.FindEntities(selectedEntityType, searchString, stateFilter));
 }
Beispiel #3
0
 public IEnumerable <Entity> GetEntitiesByCategory(string category)
 {
     return(_entityDao.FindEntities(null, category, ""));
 }