コード例 #1
0
        public EmptyResult RefillShipGroups()
        {
            LogicaAdmin logica = new LogicaAdmin();

            logica.FillShipGroupsTable();

            return(new EmptyResult());
        }
コード例 #2
0
        public ActionResult Listar()
        {
            if (Convert.ToBoolean(Session["EsAdmin"]))
            {
                List <PaqueteE> ListaPaquetes = LogicaAdmin.ListarPaquetes();
                return(View(ListaPaquetes));
            }

            return(RedirectToAction("Login", "Home"));
        }