public ActionResult CheckDelete(int id)
        {
            MunicipalidadController cont = new MunicipalidadController();

            cont.DeleteData(id);
            return(RedirectToAction("Index"));
        }
        // GET: Ciudad

        public ActionResult Index()
        {
            MunicipalidadController cont = new MunicipalidadController();
            List <Municipalidad>    list = cont.getAllMunicipalidades();

            return(View(list));
        }
        public ActionResult Delete(int id)
        {
            MunicipalidadController cont = new MunicipalidadController();

            return(View(cont.getAllMunicipalidades().Find(model => model.id_municipalidad == id)));
        }