public ActionResult CodeScript()
        {
            var path = Server.MapPath("~/scripts/custom.js");

            var code = System.IO.File.ReadAllText(path);

            var model = new TextFileModel()
            {
                Text = code
            };

            return View(model);
        }
        public ActionResult CodeScriptUpdate(TextFileModel model)
        {
            var path = Server.MapPath("~/scripts/custom.js");

            var text = string.IsNullOrEmpty(model.Text) ? string.Empty : model.Text.Trim();
            System.IO.File.WriteAllText(path, text);

            return RedirectToAction("CodeScript");
        }
        public ActionResult CodeStyle()
        {
            var path = Server.MapPath("~/content/custom.css");

            var code = System.IO.File.ReadAllText(path);

            var model = new TextFileModel()
            {
                Text = code
            };

            return View(model);
        }