public ActionResult Index( string option )
        {
            ViewBag.Message = "Projects";

            Website.Models.Projects.ProjectsListModel model = new Models.Projects.ProjectsListModel()
            {
                Projects = Shared.Projects,
                DefaultProjectIndex = Shared.DefaultProjectIndex
            };

            return View( model );
        }
Exemple #2
0
        public ActionResult Index(string option)
        {
            ViewBag.Message = "Projects";

            Website.Models.Projects.ProjectsListModel model = new Models.Projects.ProjectsListModel()
            {
                Projects            = Shared.Projects,
                DefaultProjectIndex = Shared.DefaultProjectIndex
            };

            return(View(model));
        }