private void Mail_Clicked(object sender, EventArgs e) { List <Stand> liveStands = StandController.GetStands(); List <Party> parties = this.GetAdvice(); var sortedParties = parties.OrderBy(party => party.adviced_percentage).ToList(); sortedParties.Reverse(); Navigation.PushAsync(new MailView(sortedParties)); }
private void Reset_Clicked(object sender, EventArgs e) { List <Stand> liveStands = StandController.GetStands(); Navigation.PushAsync(new MainPage()); }
private void Back_Clicked(object sender, EventArgs e) { List <Stand> liveStands = StandController.GetStands(); Navigation.PopAsync(); }
private void InitilizeData() { liveStands = StandController.GetStands(); PartiesStandPoints = StandPointsController.GetStandPoints(); }