public ActionResult Create(ElectionBooth eb)
        {
            try
            {
                // TODO: Add insert logic here
                int i = borepo.Create(eb);

                return(RedirectToAction(nameof(Index)));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }
        public ActionResult Edit(ElectionBooth eb)
        {
            try
            {
                int i = borepo.Update(eb);
                // TODO: Add update logic here

                return(RedirectToAction(nameof(Index)));
            }
            catch (Exception ex)
            {
                return(View());

                throw new Exception(ex.Message);
            }
        }