Exemplo n.º 1
0
        //
        // GET: /group/

        public ActionResult my()
        {
            if (UserInfo == null)
            {
                return(RedirectToAction("login", "member"));
            }

            GroupBll bll = new GroupBll();

            return(View(bll.GetCompanyByUserid(UserInfo.userid)));
        }
Exemplo n.º 2
0
        public ActionResult importsuccess(string m, string s)
        {
            if (UserInfo == null)
            {
                return(RedirectToAction("login", "member"));
            }

            GroupBll bll = new GroupBll();
            var      com = bll.GetCompanyByUserid(UserInfo.userid);

            if (com != null)
            {
                ViewBag.com = com.Name;
            }
            else
            {
                ViewBag.com = "";
            }

            ViewBag.match = m;
            ViewBag.msg   = s;
            return(View());
        }