public ActionResult ConsecutivoAdd(ConsecutivoModel model)
        {
            ConsecutivoModel.AddDB(model);
            ViewBag.lista = ConsecutivoModel.ObtenerConsecutivos();

            return(View("Consecutivo"));
        }
 public ActionResult Consecutivo()
 {
     ViewBag.lista = ConsecutivoModel.ObtenerConsecutivos();
     return(View());
 }