Beispiel #1
0
        public ObservableCollection <TestSuite> getTestSuitesFromDB(Sistema sistema)
        {
            //TODO
            var testSuites = TestSuite_DAO.getTestSuitesFromSistema(sistema);


            return(testSuites);
        }
        // GET: TestSuite
        public ActionResult Index()
        {
            //Recuperar Todas os TestSuite possíveis
            List <Sistema>   sistemas      = Sistema_DAO.getAllSistemas().ToList();
            List <TestSuite> allTestSuites = new List <TestSuite>();

            foreach (Sistema sis in sistemas)
            {
                allTestSuites.AddRange(TestSuite_DAO.getTestSuitesFromSistema(sis));
            }

            return(View(allTestSuites));
        }