public void Buscar() { if (!string.IsNullOrEmpty(numeroGuia)) { Navegacion.PushAsync(new Views.SigueEnvioPage(new SigueEnvioViewModel(numeroGuia, Navegacion))); } }
public ActionResult DeleteConfirmed(int id) { Navegacion navegacion = db.Navegacions.Find(id); db.Navegacions.Remove(navegacion); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Edit([Bind(Include = "Id,PadreId,Nombre,Descripcion,Accion,Controlador,Activo")] Navegacion navegacion) { if (ModelState.IsValid) { db.Entry(navegacion).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(navegacion)); }
public ActionResult Create([Bind(Include = "Id,PadreId,Nombre,Descripcion,Accion,Controlador,Activo")] Navegacion navegacion) { if (ModelState.IsValid) { db.Navegacions.Add(navegacion); db.SaveChanges(); return(RedirectToAction("Index")); } return(View(navegacion)); }
// GET: Navegaciones/Edit/5 public ActionResult Edit(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Navegacion navegacion = db.Navegacions.Find(id); if (navegacion == null) { return(HttpNotFound()); } return(View(navegacion)); }
// Start is called before the first frame update void Start() { CanvasTienda = GameObject.Find("TiendaC").GetComponent <Canvas>(); ClaseInventario = new Inventario(); listdeInventario = new ListdeInventario(); RectTransform Paneltranf = GameObject.Find("TiendaC/tienda/PanelItens/Mascara/Tabla").GetComponent <RectTransform>(); RectTransform PosicionReferncia = GameObject.Find("TiendaC/tienda/PanelItens/Mascara/Tabla/referencia").GetComponent <RectTransform>(); RectTransform corcheteTranfor = GameObject.Find("TiendaC/tienda/PanelItens/Mascara/Tabla/Selector").GetComponent <RectTransform>(); //Navegacion HubNavegacion = new Navegacion(corcheteTranfor, Paneltranf); CantidadPanel = GameObject.Find("TiendaC/tienda/cantidad").GetComponent <RectTransform>(); eleccionPanel = GameObject.Find("TiendaC/tienda/Eleccion").GetComponent <RectTransform>(); Invoke("invokeEncapsularObj", 1f); DecimalText = GameObject.Find("TiendaC/tienda/cantidad/Decimal").GetComponent <Text>(); UnidadText = GameObject.Find("TiendaC/tienda/cantidad/Unidades").GetComponent <Text>(); ValorText = GameObject.Find("TiendaC/tienda/cantidad/Valor").GetComponent <Text>(); DescripcionText = GameObject.Find("TiendaC/tienda/descripcion/Texto").GetComponent <Text>(); SaldoText = GameObject.Find("TiendaC/tienda/PanelItens/Saldo").GetComponent <Text>(); SelectorCantidad = GameObject.Find("TiendaC/tienda/cantidad/selector").GetComponent <RectTransform>(); selectorSioNo = GameObject.Find("TiendaC/tienda/Eleccion/selector").GetComponent <RectTransform>(); LibreriaS = FindObjectOfType <libreriaDeScrips>(); // test if (pruebas == true) { listdeInventario = ClaseInventario.DefineListTienda(ItensAVenderTestin, Paneltranf, PosicionReferncia); } }
private async void ConsultarDatos() { if (!string.IsNullOrWhiteSpace(NumeroGuia)) { using (IProgressDialog progress = UserDialogs.Instance.Loading("Consultando..", null, null, true, MaskType.Black)) { Modelos.ADRastreoGuiaDC rastroGuia = await Services.SigueEnvioService.Instancia.ObtenerRastreoGuia(NumeroGuia.Trim()); if (rastroGuia != null) { AsignarDatos(rastroGuia); } else { await Navegacion.PushAsync(new MainPage()); UserDialogs.Instance.Toast("El Número De Guía No Existe.", TimeSpan.FromMilliseconds(Services.Configuracion.TiempoMensaje)); } } } }
private void CerrarSesionApp() { Navegacion navegacion = new Navegacion(); navegacion.CerrarSesion(); }