public void OnGetReportButtonClicked(object sender, EventArgs e)
        {
            var timePeriodPage = new TimePeriodReport();

            timePeriodPage.DateFrom = DateFrom.Date;
            timePeriodPage.DateTo   = DateTo.Date;

            Navigation.PushAsync(timePeriodPage);
        }
        public void OnWeekReportButtonClicked(object sender, EventArgs e)
        {
            var timePeriodPage = new TimePeriodReport();

            timePeriodPage.DateFrom = DateTime.Now.StartOfWeek(DayOfWeek.Monday);
            timePeriodPage.DateTo   = DateTime.Now;

            Navigation.PushAsync(timePeriodPage);
        }
        public void OnMonthReportButtonClicked(object sender, EventArgs e)
        {
            var startDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);

            var timePeriodPage = new TimePeriodReport();

            timePeriodPage.DateFrom = startDate;
            timePeriodPage.DateTo   = DateTime.Now;

            Navigation.PushAsync(timePeriodPage);
        }