public ActionResult Editar(General.Ticket ticket)
        {
            //para cargar la data
            bool exito = DATicket.ActualizarTicket(ticket);

            return(RedirectToAction("Index"));
        }
        public ActionResult Registro(General.Ticket ticket)
        {
            //para cargar la data
            bool exito = DATicket.RegistrarTicket(ticket);

            return(RedirectToAction("Index"));
        }
 public ActionResult Editar(int ID)
 {
     General.Ticket ti = DATicket.ListadoTicket().FirstOrDefault();
     return(View(ti));
 }