Beispiel #1
0
        public ActionResult Delete()
        {
            var keys = new Dictionary <string, object>();

            if (Request.QueryString.Count > 0)
            {
                foreach (var key in Request.QueryString.AllKeys)
                {
                    keys.Add(key, Request.QueryString[key]);
                }
            }

            StructureHelper.Delete(tableSlug, keys);
            return(Redirect("/admin/" + tableSlug + "List"));
        }