public Feature[] ReadFeatures(int instanceId, string fetclassId, Envelope evp) { IServerInstance instance = GetServerInstanceById(instanceId); if (instance == null) { throw new Exception(string.Format(HttpCommands.cstErrorInstanceIsNotExisted, instanceId)); } using (IFeaturesReaderService reader = instance.GetFeaturesReaderService(fetclassId)) { return(reader.Read(evp)); } }