示例#1
0
        public ActionResult Anular(tb_bodega_Info model)
        {
            if (!bus_bodega.anularDB(model))
            {
                ViewBag.IdEmpresa  = model.IdEmpresa;
                ViewBag.IdSucursal = model.IdSucursal;
                cargar_combos(model.IdEmpresa);
                return(View(model));
            }

            return(RedirectToAction("Index", new { IdEmpresa = model.IdEmpresa, IdSucursal = model.IdSucursal }));
        }