public UsuarioViewModel(RepositorioCalendario repo) { this.repo = repo; MessagingCenter.Subscribe <UsuarioViewModel>(this, "CARGAR", (sender) => { Task.Run(async() => { await this.CargarPerfil(); }); }); Task.Run(async() => { await this.CargarPerfil(); }); }
public LoginViewModel(RepositorioCalendario repo) { this.repo = repo; }
public CalendarioViewModel(RepositorioCalendario repo) { this.repo = repo; Task.Run(async() => await CargarEventos()); }