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)); }
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)); }