Esempio n. 1
0
        public ActionResult TableData()
        {
            var Model = new Context_Model()
            {
                Peoples_Model  = db.Peoples.ToList(),
                Projects_Model = db.Projects.ToList()
            };

            return(PartialView("DataPersonTable", Model));
        }
Esempio n. 2
0
        /// <summary>
        /// Data Base View and requests
        /// </summary>
        /// <returns></returns>
        public ActionResult DataBase()
        {
            var Model = new Context_Model()
            {
                Peoples_Model  = db.Peoples.ToList(),
                Projects_Model = db.Projects.ToList()
            };

            return(View(Model));
        }