public PhoneDataController() { _sessionCtx = SessionContextProvider.GetSessionContext(); _dataProcessor = new DataProcessor(_sessionCtx.DataContext); _piWebClients = _dataProcessor.Consumers.Select(consumer => new PIWebClient(_sessionCtx.UserContext, consumer)).ToList(); _efClient = new PIWebClient(_sessionCtx.UserContext, null); }
public AFMetaDataController() { _sessionContext = SessionContextProvider.GetSessionContext(); _piWebClient = new PIWebClient(_sessionContext.UserContext, null); }