Пример #1
0
        public ActionResult Members()
        {
            if (Session["ID"] == null)
            {
                return(RedirectToAction("Index"));
            }

            List <MEMBER> members = memberDA.GetAll(null);

            return(View(members));
        }
Пример #2
0
        public ActionResult _OurTeam()
        {
            List <MEMBER> members = memberDA.GetAll(true);

            return(PartialView(members));
        }