getAPhylum() public method

public getAPhylum ( ) : IList
return IList
        public void IndexTest2()
        {
            ITaxonRepository Taxon = new TaxonRepository();
            IList<AGeneralTaxon> am = Taxon.getAPhylum();

            Assert.AreEqual(am[1].TaxonName, "hello");
        }
        public JsonResult Test(string test)
        {
            try
            {

                    // TODO: Add insert logic here

                    ViewData["AJAX"] = "It worked:" + test;
               ITaxonRepository taxon = new TaxonRepository();

                IList <AGeneralTaxon> lists = taxon.getAPhylum();

                 return this.Json(lists.ToList());

                //return RedirectToAction("Details");
            }
            catch
            {
                //return View();
               return null;

            }
        }