Beispiel #1
0
 //Constructores
 public UsuarioViewModel()
 {
     usuario            = new Usuario();
     serviciosJaveriana = new ServiciosRes();
     mensajeError       = new MensajeError();
     IngresarCommand    = new Command(async() => await Ingresar(), () => true);
 }
Beispiel #2
0
 //Constructores
 public NoticiaViewModel()
 {
     noticia          = new Noticia();
     noticiaRest      = new ServiciosRes();
     ListarNotCommand = new Command(async() => await listar(), () => true);
     detalleCommand   = new Command(async() => await detalle(), () => true);
 }