public ActionResult Del_Follow(int cid) { int uid = Convert.ToInt32(Session["User_id"].ToString()); FollowManager fm = new FollowManager(); fm.Del_Follow(cid, uid); return(RedirectToAction("Follow_List")); }
public ActionResult Del_Follow1(int Comic_id) { int User_id = Convert.ToInt32(Session["User_id"].ToString()); FollowManager fm = new FollowManager(); fm.Del_Follow(Comic_id, User_id); var da = Session["User_name"].ToString(); Comic_detail cd = new Comic_detail(Comic_id, da, 1); return(PartialView("Add_Follow", cd)); }