public ActionResult UpdateTeamActivation(int teamId) { var blTeam = new BLTeam(); var lastStatus = blTeam.ReverseTeamActivation(teamId); var jsonData = new { lastStatus, }; return(Json(jsonData, JsonRequestBehavior.AllowGet)); //return View("../Author/TeamEdit", model); }