Ejemplo n.º 1
0
        public void RallyGlobalConfigurationRepositoryLoadTest()
        {
            RallyGlobalConfigurationRepository repo = new RallyGlobalConfigurationRepository(_context);
            var result = repo.GetItem();

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Success);
        }
Ejemplo n.º 2
0
        private RallyGlobalConfiguration GetRallyGlobalConfiguration()
        {
            if (_dbContext == null)
            {
                throw new ArgumentNullException("DBContext is null.");
            }
            RallyGlobalConfigurationRepository repo = new RallyGlobalConfigurationRepository(_dbContext);
            var result = repo.GetItem();

            return(result.Object);
        }