public ActionResult detailSector(string id)
        {
            SectoresCLS sect = new SectoresCLS();

            var item = client.detailSector(id);

            sect.IdSector          = item.IdSector;
            sect.DescripcionSector = item.DescripcionSector;

            return(View(sect));
        }
        public ActionResult updateSector(SectoresCLS sec)
        {
            int st = (int)client.updateSector(sec.IdSector, sec.DescripcionSector, sec.NewIdSector).estado;

            return(RedirectToAction("Index"));
        }
        public ActionResult deleteSector(SectoresCLS sec)
        {
            int st = (int)client.deleteSector(sec.IdSector).estado;

            return(RedirectToAction("Index"));
        }
        public ActionResult createSector(SectoresCLS sec)
        {
            client.createSector(sec.IdSector, sec.DescripcionSector);

            return(RedirectToAction("Index"));
        }