// GET: Client/Export/addSpecie/5 public ActionResult addSpecie(int id) { ViewBag.ExportDetail = _exportService.getExportDetailById(id); ViewBag.Species = _exportService.getExportSpeciesByExportDetailId(id); ViewBag.SpecieId = _specieAppService.GetSpecies().Select(c => new SelectListItem { Value = c.Id.ToString(), Text = c.EnglishName }); return(View()); }
// GET: Specie public ActionResult Index() { var species = _specieAppService.GetSpecies(); return(View(species)); }