예제 #1
0
        public ActionResult DeleteSqlScript(int id)
        {
            var sqlScript = new SqlScript(id);

            sqlScript.Delete();

            return(Json(new
            {
                Message = $"Successfully deleted script with Id <strong>{id}</strong>."
            }, JsonRequestBehavior.AllowGet));
        }