コード例 #1
0
        public ActionResult DeleteIndicator(int indicator_id, string username)
        {
            if (System.Web.HttpContext.Current.User.Identity.Name == username)
            {
                DashboardService.DeleteIndicator(indicator_id);
            }

            object response = new { success = true };

            return(Json(response, JsonRequestBehavior.AllowGet));
        }