public ActionResult AllMyBlog() { if (Check()) { return(RedirectToAction("Index", "Login")); } BlogClient service = new BlogClient(); String id = (String)Session["unm"]; MyBlog[] arr = service.GetAllMyBlog(id); return(View(arr)); }