private IList<Taxonomy> Index() { var service = new TaxonomyService(); var model = service.GetAll(); return model; }
public IHttpActionResult Get() { var service = new TaxonomyService(); return Ok(service.GetAll()); }