public ActionResult UnFollowUser(int id) { if (Session["UserName"] == null) { return(RedirectToAction("Error")); } int userId = Int32.Parse(Session["UserId"].ToString()); if (id != userId) { KoombuBll kBll = new KoombuBll(); kBll.UnFollowUser(userId, id); } return(RedirectToAction("Profil", new { id = id })); }