- add GenerateRandomTimeSheets function to generate TimeSheets with Google Calendar and fix them with rnd entry's to fit person hours
This commit is contained in:
@@ -129,8 +129,11 @@ public partial class LeanderShiftPlannerMainWindow : Window
|
||||
{
|
||||
try
|
||||
{
|
||||
_appService.PersonService.ClearTimeSheets();
|
||||
|
||||
ProgressbarCalculaion.IsIndeterminate = true;
|
||||
await _appService.TimesheetService.GenerateGoogleTimeSheets(_appService.PersonService.GetGoogleTimeSheetList());
|
||||
await _appService.TimesheetService.GenerateGoogleTimeSheets(_appService.PersonService.GetGoogleTimeSheetList(), false);
|
||||
await _appService.TimesheetService.GenerateGoogleTimeSheets(_appService.PersonService.GetRandomGoogleTimeSheetList(), true);
|
||||
await _appService.TimesheetService.GenerateRandomTimeSheets(_appService.PersonService.GetRandomTimeSheetList());
|
||||
ProgressbarCalculaion.IsIndeterminate = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user