public NuevoTramitePagoPageViewModel(INavigationService navigationService, IPageDialogService dialogService) { _navigation = navigationService; _dialogService = dialogService; FacturaSolicitanteCommand = new Command(async() => { await OnFacturaSolicitante(); }); Title = "Nuevo Trámite"; _servicio = new TramitesServicio(); FacturaSolicitante = true; Modelo = new TramiteDetalleModelo(); BuscarCedulaCommand = new Command(async() => { await OnBuscarCedula(); }); RegresarCommand = new Command(async() => { await OnRegresar(); }); RegistrarCommand = new Command(async() => { await OnRegistrar(); }); }
public NuevoTramitePageViewModel(INavigationService navigationService, IPageDialogService dialogService) { _navigation = navigationService; _dialogService = dialogService; Modelo = new TramiteDetalleModelo(); TipoPersonaSeleccionado = "Natural"; _servicio = new TramitesServicio(); SiguienteCommand = new Command(async (p) => { await OnSiguiente(); }); BuscarCedulaCommand = new Command(async () => { await OnBuscarCedula(); }); TomarImagen1Command = new Command(() => { OnTomarImagen1(); }); TomarImagen2Command = new Command(() => { OnTomarImagen2(); }); TomarImagen3Command = new Command(() => { OnTomarImagen3(); }); CargarCombos(); }