예제 #1
0
        public ActionResult ViewMy(string para)
        {
            if (Check())
            {
                return(RedirectToAction("Index", "Login"));
            }
            Int32      id      = Int32.Parse(para);
            BlogClient service = new BlogClient();
            MyBlog     stu     = service.GetBlogById(id);

            return(View(stu));
        }