コード例 #1
0
        private async void OnReportSearch(object sender, EventArgs e)
        {
            List <WorkLog> workLogs = await dbTransaction.GetWorkLogs(dpFromDate.Date, dpToDate.Date);

            List <BreakLog> breakLogs = await dbTransaction.GetBreakLogs(dpFromDate.Date, dpToDate.Date);

            List <WorkReport> workReports = GetReportGridData(workLogs, breakLogs);

            AddReportGridData(workReports);
        }