public ActionResult blogFollow(string userName, string blogID) { Debug.WriteLine(userName + " " + blogID + "pierwszyGet"); ObsługaBazyDanych.DodajFollowDoBloga(userName, blogID); //ObsługaBazyDanych.bazadanych.VotesSet.Add(); var blog = ObsługaBazyDanych.zwrocBlogPoId(Int32.Parse(blogID)); return(Json(new { followCount = blog.followCount, id = blog.Blog_ID, user = userName }, JsonRequestBehavior.AllowGet)); }