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)); }
public StandControllerTest() { standRepoMock = new Mock <IStandRepository>(); controller = new StandController(standRepoMock.Object); }
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(); }
public UnitTest(Context context) { _standController = new StandController(context); }