/// <summary> /// Initializes a new instance for the <see cref="SignUpPageViewModel" /> class. /// </summary> public SignUpPageViewModel(INavigation navigation) { this.LoginCommand = new Command(() => this.LoginClicked()); this.SignUpCommand = new Command(async() => await this.SignUpClicked()); Spolovi.Add("Muski"); Spolovi.Add("Zenski"); this.navigation = navigation; }
private static void UcitajSpolove() { Spolovi.Add(new Spol() { Id = 1, Naziv = "********" }); Spolovi.Add(new Spol() { Id = 2, Naziv = "Ženski" }); Spolovi.Add(new Spol() { Id = 3, Naziv = "Muški" }); }
private static void DodajSpolove() { Spolovi.Add("Muški"); Spolovi.Add("Ženski"); Spolovi.Add("*****"); }