Beispiel #1
0
        public ActionResult DeleteWebSite(string id)
        {
            var        data = WebsiteBLL.DeleteWebSite(id);
            JsonResult json = new JsonResult();

            if (data > 0)
            {
                json.Data = new
                {
                    result = "true"
                };
            }
            else
            {
                json.Data = new
                {
                    result = "false"
                };
            }
            return(json);
        }