Example #1
0
        public ActionResult Index()
        {
            int userType           = (Int32)Session["UserType"];
            int userId             = (Int32)Session["TheUserID"];
            var listProjects       = lab.ListLabs();
            var listOfProjectsShow = Mapper.Map <List <Models.Labs> >(listProjects);

            return(View(listOfProjectsShow));
        }
Example #2
0
        public ActionResult Index()
        {
            var listProjects       = lab.ListLabs();
            var listOfProjectsShow = Mapper.Map <List <Models.Labs> >(listProjects);

            return(View(listOfProjectsShow));
        }