public EmptyResult RefillShipGroups() { LogicaAdmin logica = new LogicaAdmin(); logica.FillShipGroupsTable(); return(new EmptyResult()); }
public ActionResult Listar() { if (Convert.ToBoolean(Session["EsAdmin"])) { List <PaqueteE> ListaPaquetes = LogicaAdmin.ListarPaquetes(); return(View(ListaPaquetes)); } return(RedirectToAction("Login", "Home")); }