public IEnumerable <TerminalDO> GetAll() { Initialize(); lock (_terminals) { //filter terminals and show only allowed for current logged user return(_securityServices.GetAllowedTerminalsByUser(_terminals.Values.ToArray())); } }