public List<OAuthClient> GetAll(OAuthClientFilter filter = null)
 {
     using (var context = new DeviceHiveContext())
     {
         return context.OAuthClients.Filter(filter).ToList();
     }
 }
 public List<OAuthClient> GetAll(OAuthClientFilter filter = null)
 {
     return _mongo.OAuthClients.AsQueryable().Filter(filter).ToList();
 }