예제 #1
0
        public void IsInitializableDB()
        {
            var result = repository.GetPhases();

            Assert.IsNotNull(result);
        }
예제 #2
0
        // GET: api/Phases
        public async Task <IEnumerable <Phase> > GetPhases()
        {
            var phase = await Repository.GetPhases();

            return(phase);
        }