//
        // GET: /Database/

        public ActionResult GetEnvironments()
        {
            var list = EnvironmentServices.GetEnvironments();

            return(this.Direct(new
            {
                success = true,
                data = list
            }));
        }
Exemple #2
0
        public void ReturnAListOfGenFormEnvironmentsWithAtLeastATestGenForm()
        {
            var list = EnvironmentServices.GetEnvironments();

            Assert.IsTrue(list.Any(e => e.Name == "TestGenForm"));
        }