Ejemplo n.º 1
0
        // 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());
        }
Ejemplo n.º 2
0
        // GET: Specie
        public ActionResult Index()
        {
            var species = _specieAppService.GetSpecies();

            return(View(species));
        }