// // GET: /group/ public ActionResult my() { if (UserInfo == null) { return(RedirectToAction("login", "member")); } GroupBll bll = new GroupBll(); return(View(bll.GetCompanyByUserid(UserInfo.userid))); }
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()); }