private void TimePickerTimeSelected(object sender, PropertyChangedEventArgs args) { if (args.PropertyName == TimePicker.TimeProperty.PropertyName) { TimeSelected?.Invoke(sender, args); } }
/// <summary> /// This function show the data of selected people to View, which appears on the Results.cshtml. /// </summary> public ViewResult Results(TimeSelected timeSelected) { return(View(TimePerson.GetPersons(timeSelected))); }
public IActionResult Index(int fromYear, int toYear) { TimeSelected timeSelected = new TimeSelected(fromYear, toYear); return(RedirectToAction("Results", timeSelected)); }
public void OnPickerSelectedIndexChanged(object sender, EventArgs args) { TimeSelected?.Invoke(this, null); }