public PartialViewResult register(string replArea, Int64 bid) { repo2.AddRcnt(bid); Replies r = new Replies(); r.content = replArea; r.writer = (string)Session["userId"]; r.foreignBoard = bid; r.groupId = -1; r.pid = -1; repo.AddRepl(r); repo.UpdateReplGroupId(bid); var data = repo.GetRepl(bid); return(PartialView("GetRepl", data)); }