getPGenusSearch() public méthode

public getPGenusSearch ( ) : IList
Résultat IList
        // GET: /SearchReview/GetGenus
        public ActionResult GetGenusSearch(bool ajax, string value)
        {
            IGenericRepository gen = new GenericRepository();
            ITaxonRepository taxon = new TaxonRepository();

            IList<AGeneralTaxon> lists = null;

            if (value.Equals("animals") || value.Equals("animal"))
            {
                lists = taxon.getAGenusSearch();
            }
            else if (value.Equals("plants") || value.Equals("plant"))
            {
                lists = taxon.getPGenusSearch();
            }

            // return Json(taxons.getCountries(3, UpdateUtils.PHYLUM, UpdateUtils.ANIMALS).ToList());
            return Json(lists);
        }