Exemplo n.º 1
0
        // GET: Test
        public ActionResult Index()
        {
            var model = service.LoadFitnessViewModel();

            model.Classes = service.GetAllFitnessClasses();
            model.LblTest = "Tekst property fra FitnessViewModel";
            return(View(model));
        }
        // GET: Home
        public ActionResult Index()
        {
            var classes = service.GetAllFitnessClasses();

            return(View(classes));
        }