public JsonResult LogOut() { try { CookieHelper helper = CookieHelper.GetInstance(HelperKeys.UserIdCookieKey); helper.CleanCookie(Response); return(Json(new { State = true })); } catch (Exception ex) { return(Json(new { State = false, Message = ex.Message })); } }