public JsonResult Deactivate(int id) { if (!(Session["gamer"] is Gamer)) { return(Json(Errors.GamerNotLoggedIn, JsonRequestBehavior.AllowGet)); } _gameResultService.DeactivateGameResult(id); return(Json(null, JsonRequestBehavior.AllowGet)); }