public WatcherEventsController(SearchRepository searchRepository)
 {
     _searchRepository = searchRepository;
 }
 public AlarmsController(SearchRepository searchRepository)
 {
     _searchRepository = searchRepository;
 }