protected override void Next(object param) { var time = TimeSpan.Parse(TimeList[SelectedTimeIndex]); Declaration.ComingDate = SelectedDate.Date.AddHours(time.Hours); declarationService.SetupFilledDeclaration(Declaration); if (!IsPaid && Declaration.PayingType == PayingType.Online) { pageservice.ChangePage <Pages.PaymentPage>(PoolIndex, DisappearAndToSlideAnim.ToLeft); } else { pageservice.ChangePage <Pages.ResultPage>(PoolIndex, DisappearAndToSlideAnim.ToLeft); } }