Ejemplo n.º 1
0
        // GET: Structure
        public ActionResult Index()
        {
            var structures = _structureService.GetAll().ToList();
            var viewModel  = new StructureListViewModel();

            viewModel.StructureList = structures;

            return(View(viewModel));
        }