public IQueryable <Connection> GetActiveData()
 {
     return(_dbRepository.GetActiveData().AsQueryable());
 }