public ActionResult Delete(ModalMultiFormMultiSPALikeVM vm)
        {
            try
            {
                var locSource = entities.Where(i => i.Id == vm.Entity.Id).SingleOrDefault();
                entities.Remove(locSource);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
        public ActionResult Edit(ModalMultiFormMultiSPALikeVM vm)
        {
            try
            {
                var locSource = entities.Where(i => i.Id == vm.Entity.Id).SingleOrDefault();
                locSource.Name = vm.Entity.Name;
                locSource.Desc = vm.Entity.Desc;
                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }


        }
        public ActionResult Create(ModalMultiFormMultiSPALikeVM vm)
        {
            try
            {
                var id = entities.OrderByDescending(i => i.Id).Select(i => i.Id).FirstOrDefault();
                vm.Entity.Id = ++id;
                entities.Add(vm.Entity);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }

        }