Example #1
0
        // GET: Product
        public ActionResult Index()
        {
            //取得目前登入使用者Id
            var UserId = HttpContext.User.Identity.GetUserId();


            //return Content("Login User ID==>" + UserId + "Login User Name==>" + UserName);

            ProductEntity pe = new ProductEntity();

            return(View(pe.QueryByMemberId(UserId).ToList()));
        }