// POST: Settings/Edit
        public ActionResult Edit(Setting stng)
        {
            var sp = new SettingProcess();

            sp.Edit(stng);
            return(RedirectToAction("Index"));
        }
        // GET: Settings/Edit
        public ActionResult Edit(int id)
        {
            var sp   = new SettingProcess();
            var stng = sp.Find(id);

            return(View(stng));
        }
        // POST: Settings/Create
        public ActionResult Create(Setting stng)
        {
            var sp = new SettingProcess();

            sp.Insert(stng);
            return(RedirectToAction("Index"));
        }
        // GET: Settings/Delete
        public ActionResult Delete(int id)
        {
            var sp = new SettingProcess();

            sp.Delete(id);
            return(RedirectToAction("Index"));
        }
        // GET: Settings/Setting
        public ActionResult Index()
        {
            var sp    = new SettingProcess();
            var lista = sp.SelectList();

            return(View(lista));
        }